Create a PKCS#12 structure from a stack of PKCS#7 authSafes contentInfos.

Synopsis

Declared in <openssl/pkcs12.h>

PKCS12*
PKCS12_add_safes(
    stack_st_PKCS7* safes,
    int p7_nid);

Return Value

New PKCS#12 structure, or NULL on error.

Parameters

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).

Created with MrDocs