PKCS12_init

Create an empty PKCS#12 structure.

Synopsis

Declared in <openssl/pkcs12.h>

PKCS12*
PKCS12_init(int mode);

Return Value

New PKCS#12 structure, or NULL on error.

Parameters

NameDescription
modeNID of the outer PKCS#7 content type wrapping authSafes (currently NID_pkcs7_data only).