logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

X509_NAME_get0_der - get X509_NAME DER encoding

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.

Name

       X509_NAME_get0_der - get X509_NAME DER encoding

Return Values

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

See Also

d2i_X509(3)

Synopsis

        #include <openssl/x509.h>

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

See Also