Allocate an empty PKCS#7 structure with an explicit library context and property query.
Declared in <openssl/pkcs7.h>
PKCS7*
PKCS7_new_ex(
OSSL_LIB_CTX* libctx,
char const* propq);
New PKCS7, or NULL on allocation failure; free with PKCS7_free.
| Name | Description |
|---|---|
| libctx | Library context for algorithm fetches, or NULL for the default. |
| propq | Property query for algorithm fetches, or NULL. |