Set the private key used to protect outgoing CMP messages.
Declared in <openssl/cmp.h>
int
OSSL_CMP_CTX_set1_pkey(
OSSL_CMP_CTX* ctx,
EVP_PKEY* pkey);
1 on success, 0 on error.
| Name | Description |
|---|---|
| ctx | CMP context. |
| pkey | Private key matching the client certificate, or NULL to clear. |