[#PKCS5_pbe_set] = PKCS5_pbe_set :mrdocs: Build an AlgorithmIdentifier for PKCS#5 PBE with `alg,` `iter,` and `salt.` == Synopsis Declared in `<openssl/x509.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:X509_ALGOR.adoc[X509_ALGOR]* PKCS5_pbe_set( int alg, int iter, unsigned char const* salt, int saltlen); ---- == Return Value New X509_ALGOR, or NULL on error; free with X509_ALGOR_free(). == Parameters [cols="1,4"] |=== | Name| Description | *alg* | PBE algorithm NID. | *iter* | Iteration count. | *salt* | Salt bytes, or NULL to generate a random salt of `saltlen.` | *saltlen* | Salt length in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#