X509_get1_email

Collect email addresses from a certificate's subject and subjectAltName.

Synopsis

Declared in <openssl/x509v3.h>

stack_st_OPENSSL_STRING*
X509_get1_email(X509* x);

Return Value

Newly allocated stack of email strings, or NULL on failure; free with X509_email_free.

Parameters

NameDescription
xCertificate to query.