|X509_NAME_NEW(3)||Library Functions Manual||X509_NAME_NEW(3)|
Various X.509 structures contain X.501 Name substructures. They are for example used for the issuers of certificates and certificate revocation lists and for the subjects of certificates and certificate requests.
X509_NAME_new() allocates and initializes
an empty X509_NAME object, representing an ASN.1
Name structure defined in RFC 5280 section 126.96.36.199.
Data can be added to such objects with the functions described in
and they can be inspected with the functions described in
name and all the X509_NAME_ENTRY
objects contained in it. If name is a
NULL pointer, no action occurs.
X509_NAME_new() returns a new X509_NAME object or
NULLif an error occurred.
ITU-T Recommendation X.501, also known as ISO/IEC 9594-2: Information Technology – Open Systems Interconnection – The Directory: Models, section 9: Names
X509_NAME_free() appeared in SSLeay 0.4 or earlier and have been available since OpenBSD 2.4.
|June 6, 2019||OpenBSD-current|