EVP_PBE_find_ex

Look up a registered PBE algorithm, returning both classic and extended keygen callbacks.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PBE_find_ex(
    int type,
    int pbe_nid,
    int* pcnid,
    int* pmnid,
    EVP_PBE_KEYGEN** pkeygen,
    EVP_PBE_KEYGEN_EX** pkeygen_ex);

Return Value

1 if found, or 0 otherwise.

Parameters

NameDescription
typePBE application type such as EVP_PBE_TYPE_OUTER or EVP_PBE_TYPE_PRF.
pbe_nidNID of the PBE AlgorithmIdentifier.
pcnidOptional destination for the cipher NID, or NULL.
pmnidOptional destination for the digest/PRF NID, or NULL.
pkeygenOptional destination for the classic keygen function pointer, or NULL.
pkeygen_exOptional destination for the extended (libctx-aware) keygen, or NULL.