carta
gnutls_openpgp_crt_check_email(3)

gnutls_openpgp_crt_check_email3

Api function

Arguments

gnutls_openpgp_crt_t key

should contain a gnutls_openpgp_crt_t type

const char * email

A null terminated string that contains an RFC822 address (email)

unsigned flags

gnutls_certificate_verify_flags

Overview

This function will check if the given key's owner matches the given email address.

Returns

non-zero for a successful match, and zero on failure.

Reporting bugs

Report bugs to <[email protected]>.
Home page: http://www.gnutls.org

From gnutls-doc 3.5.8-5+deb9u5 in Debian 9 (Stretch). Parsed by carta from the page's man source.