gnutls_openpgp_privkey_get_subkey_revoked_status

gnutls_openpgp_privkey_get_subkey_revoked_status — API function

Synopsis

#include <gnutls/openpgp.h>

int gnutls_openpgp_privkey_get_subkey_revoked_status(gnutls_openpgp_privkey_t key, unsigned int idx);

Arguments

gnutls_openpgp_privkey_t key
the structure that contains the OpenPGP private key.
unsigned int idx
is the subkey index

Description

Get revocation status of key.

Returns

true (1) if the key has been revoked, or false (0) if it has not, or a negative error code indicates an error.

Since

2.4.0

Reporting Bugs

Report bugs to <bugs@gnutls.org>.
Home page: http://www.gnutls.org

See Also

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit

http://www.gnutls.org/manual/

Info

3.5.5 gnutls gnutls