Create a PKCS#12 structure from a stack of PKCS#7 authSafes contentInfos.
Declared in <openssl/pkcs12.h>
PKCS12*
PKCS12_add_safes_ex(
stack_st_PKCS7* safes,
int p7_nid,
OSSL_LIB_CTX* ctx,
char const* propq);
New PKCS#12 structure, or NULL on error.
| Name | Description |
|---|---|
| safes | Stack of PKCS#7 content infos to embed. |
| p7_nid | NID of the outer PKCS#7 content type (currently NID_pkcs7_data only). |
| ctx | Library context for algorithm fetching, or NULL for default. |
| propq | Property query for algorithm fetching, or NULL. |