Create an empty PKCS#12 structure with a library context.
Declared in <openssl/pkcs12.h>
PKCS12*
PKCS12_init_ex(
int mode,
OSSL_LIB_CTX* ctx,
char const* propq);
New PKCS#12 structure, or NULL on error.
| Name | Description |
|---|---|
| mode | NID of the outer PKCS#7 content type wrapping authSafes (currently NID_pkcs7_data only). |
| ctx | Library context for algorithm fetching, or NULL for default. |
| propq | Property query for algorithm fetching, or NULL. |