OBJ_get0_data

Return the DER-encoded content octets of an ASN1_OBJECT.

Synopsis

Declared in <openssl/objects.h>

unsigned char const*
OBJ_get0_data(ASN1_OBJECT const* obj);

Return Value

Internal pointer to the OID content bytes (do not free), or NULL if unavailable.

Parameters

NameDescription
objObject to query.