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

Name

Description

pe

Optional ENGINE search: if non‐NULL, may be set to an engine providing the method.

str

PEM algorithm name to look up.

len

Length of str, or ‐1 to use strlen(str).

Created with MrDocs