EVP_PKEY_get0_asn1

Return the EVP_PKEY_ASN1_METHOD associated with a key.

Synopsis

Declared in <openssl/evp.h>

EVP_PKEY_ASN1_METHOD const*
EVP_PKEY_get0_asn1(EVP_PKEY const* pkey);

Return Value

Internal ASN.1 method pointer, or NULL if unavailable; do not free.

Parameters

NameDescription
pkeyKey whose ASN.1 method is queried.