[#OSSL_CMP_CTX_set1_pkey] = OSSL_CMP_CTX_set1_pkey :mrdocs: Set the private key used to protect outgoing CMP messages. == Synopsis Declared in `<openssl/cmp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_CMP_CTX_set1_pkey( xref:OSSL_CMP_CTX.adoc[OSSL_CMP_CTX]* ctx, xref:EVP_PKEY.adoc[EVP_PKEY]* pkey); ---- == Return Value 1 on success, 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | CMP context. | *pkey* | Private key matching the client certificate, or NULL to clear. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#