Create an empty PKCS#12 structure with a library context.

Synopsis

Declared in <openssl/pkcs12.h>

PKCS12*
PKCS12_init_ex(
    int mode,
    OSSL_LIB_CTX* ctx,
    char const* propq);

Return Value

New PKCS#12 structure, or NULL on error.

Parameters

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.

Created with MrDocs