gnutls_openpgp_crt_verify_self man page

gnutls_openpgp_crt_verify_self — API function


#include <gnutls/openpgp.h>

int gnutls_openpgp_crt_verify_self(gnutls_openpgp_crt_t key, unsigned int flags, unsigned int * verify);


gnutls_openpgp_crt_t key
the structure that holds the key.
unsigned int flags
unused (should be 0)
unsigned int * verify
will hold the key verification output.


Verifies the self signature in the key. The key verification output will be put in verify and will be one or more of the gnutls_certificate_status_t enumerated elements bitwise or'd.


GNUTLS_E_SUCCESS on success, or an error code.

Reporting Bugs

Report bugs to <>.
Home page:

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


3.5.8 gnutls gnutls