EVP_PBE_get

Return the PBE algorithm type and NID at index num in the registry.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PBE_get(
    int* ptype,
    int* ppbe_nid,
    size_t num);

Return Value

1 if num is valid, or 0 if out of range.

Parameters

NameDescription
ptypeOptional destination for the PBE type (EVP_PBE_TYPE_*), or NULL.
ppbe_nidOptional destination for the PBE algorithm NID, or NULL.
numZero-based index into the registered PBE table.