Allocate an empty PKCS#7 structure with an explicit library context and property query.

Synopsis

Declared in <openssl/pkcs7.h>

PKCS7*
PKCS7_new_ex(
    OSSL_LIB_CTX* libctx,
    char const* propq);

Return Value

New PKCS7, or NULL on allocation failure; free with PKCS7_free.

Parameters

Name

Description

libctx

Library context for algorithm fetches, or NULL for the default.

propq

Property query for algorithm fetches, or NULL.

Created with MrDocs