OSSL_CMP_CTX_new

Allocate a CMP context with default options for client or server use.

Synopsis

Declared in <openssl/cmp.h>

OSSL_CMP_CTX*
OSSL_CMP_CTX_new(
    OSSL_LIB_CTX* libctx,
    char const* propq);

Return Value

New OSSL_CMP_CTX, or NULL on allocation failure.

Parameters

NameDescription
libctxLibrary context, or NULL for the default.
propqProperty query string for algorithm fetching, or NULL.