EVP_PKEY_asn1_find

Find the ASN.1 method implementing a public-key algorithm NID.

Synopsis

Declared in <openssl/evp.h>

EVP_PKEY_ASN1_METHOD const*
EVP_PKEY_asn1_find(
    ENGINE** pe,
    int type);

Return Value

Internal EVP_PKEY_ASN1_METHOD pointer, or NULL if not found.

Parameters

NameDescription
peOptional ENGINE pointer updated when the method comes from an ENGINE, or NULL.
typeAlgorithm NID such as EVP_PKEY_RSA.