ASN1_STRING_get0_data

Return a const pointer to the raw content octets of an ASN.1 string.

Synopsis

Declared in <openssl/asn1.h>

unsigned char const*
ASN1_STRING_get0_data(ASN1_STRING const* x);

Return Value

Pointer to the internal data buffer (do not free), or NULL if unset.

Parameters

NameDescription
xString to query.