EVP_PKEY_asn1_find_str

Find an EVP_PKEY_ASN1_METHOD by PEM type string.

Synopsis

Declared in <openssl/evp.h>

EVP_PKEY_ASN1_METHOD const*
EVP_PKEY_asn1_find_str(
    ENGINE** pe,
    char const* str,
    int len);

Return Value

Matching ASN.1 method, or NULL if not found.

Parameters

NameDescription
peOptional ENGINE search: if non-NULL, may be set to an engine providing the method.
strPEM algorithm name to look up.
lenLength of str, or -1 to use strlen(str).