gnutls_x509_crt_check_email3
Api function
Usage
#include <gnutls/x509.h>
unsigned gnutls_x509_crt_check_email(gnutls_x509_crt_t cert, const char * email, unsigned int flags);
Arguments
gnutls_x509_crt_t cert
|
should contain an gnutls_x509_crt_t type |
|---|---|
const char * email
|
A null terminated string that contains an email address (RFC822) |
unsigned int flags
|
should be zero |
Overview
This function will check if the given certificate's subject matches the given email address.
Returns
non-zero for a successful match, and zero on failure.
Releases
6 releases since Debian 9 (Stretch); the text changed 5 times.