X509_NAME_get0_der.3ossl - Man Page

get X509_NAME DER encoding

Synopsis

 #include <openssl/x509.h>

 int X509_NAME_get0_der(const X509_NAME *nm, const unsigned char **pder,
                        size_t *pderlen);

Description

The function X509_NAME_get0_der() returns an internal pointer to the encoding of an X509_NAME structure in *pder and consisting of *pderlen bytes. It is useful for applications that wish to examine the encoding of an X509_NAME structure without copying it.

Return Values

The function X509_NAME_get0_der() returns 1 for success and 0 if an error occurred.

See Also

d2i_X509(3)

Info

2024-09-12 3.2.2 OpenSSL