Set the private key used to protect outgoing CMP messages.

Synopsis

Declared in <openssl/cmp.h>

int
OSSL_CMP_CTX_set1_pkey(
    OSSL_CMP_CTX* ctx,
    EVP_PKEY* pkey);

Return Value

1 on success, 0 on error.

Parameters

Name

Description

ctx

CMP context.

pkey

Private key matching the client certificate, or NULL to clear.

Created with MrDocs