Set a PBES1 AlgorithmIdentifier (OID, iteration count, and salt) with a library context.
Synopsis
Declared in <openssl/x509.h>
int
PKCS5_pbe_set0_algor_ex(
X509_ALGOR* algor,
int alg,
int iter,
unsigned char const* salt,
int saltlen,
OSSL_LIB_CTX* libctx);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
algor |
Destination AlgorithmIdentifier updated in place. |
alg |
PBE algorithm NID. |
iter |
Iteration count for key derivation. |
salt |
Salt octets, or NULL to generate a random salt of length |
saltlen |
Length of |
libctx |
Library context for random salt generation, or NULL for the default. |
Created with MrDocs