gnutls_openpgp_privkey_get_subkey_revoked_status — Get the revoked status of the key
#include <gnutls/openpgp.h>
int
gnutls_openpgp_privkey_get_subkey_revoked_status( |
gnutls_openpgp_privkey_t | key, |
unsigned int | idx) ; |
the structure that contains the OpenPGP private key.
is the subkey index
true (1) if the key has been revoked, or false (0) if it has not, or a negative value indicates an error.