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

Name

Description

type

PBE application type such as EVP_PBE_TYPE_OUTER or EVP_PBE_TYPE_PRF.

pbe_nid

NID of the PBE AlgorithmIdentifier.

pcnid

Optional destination for the cipher NID, or NULL.

pmnid

Optional destination for the digest/PRF NID, or NULL.

pkeygen

Optional destination for the classic keygen function pointer, or NULL.

pkeygen_ex

Optional destination for the extended (libctx‐aware) keygen, or NULL.

Created with MrDocs