Sortix cisortix manual
This manual documents Sortix cisortix. You can instead view this document in the latest official manual.
NAME
X509_get1_email, X509_get1_ocsp, X509_email_free — utilities for stacks of stringsSYNOPSIS
#include <openssl/x509v3.h>X509_get1_email(X509 *certificate);
X509_get1_ocsp(X509 *certificate);
X509_email_free(STACK_OF(OPENSSL_STRING) *stack);
DESCRIPTION
X509_get1_email() retrieves all email addresses from the subject field and from any Subject Alternative Name extension of the certificate.RETURN VALUES
X509_REQ_get1_email() and X509_get1_ocsp() return newly allocated stacks of char * containing copies of the addresses in question, or NULL if there are no addresses or if an error occurs.SEE ALSO
OCSP_sendreq_new(3), OCSP_SERVICELOC_new(3), OPENSSL_sk_new(3), STACK_OF(3), X509_check_email(3), X509_get_ext_d2i(3), X509_get_subject_name(3), X509_new(3), x509v3.cnf(5)STANDARDS
RFC 5280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile- section 4.1: Basic Certificate Fields
- section 4.1.2.6: Subject
- section 4.2.1.6: Subject Alternative Name
- section 4.2.2.1: Authority Information Access
- section 5.2.1: Electronic-mail address
- appendix B.3.5: emailAddress