gnutls_x509_crt_check_email(3)

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.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

Reporting bugs

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

From gnutls 3.8.13-3 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.