[#OSSL_CRMF_MSG_set1_regCtrl_protocolEncrKey] = OSSL_CRMF_MSG_set1_regCtrl_protocolEncrKey :mrdocs: Set the protocolEncrKey regCtrl in a CRMF CertReqMsg. == Synopsis Declared in `<openssl/crmf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_CRMF_MSG_set1_regCtrl_protocolEncrKey( xref:OSSL_CRMF_MSG.adoc[OSSL_CRMF_MSG]* msg, xref:X509_PUBKEY.adoc[X509_PUBKEY] const* pubkey); ---- == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *msg* | CertReqMsg to update. | *pubkey* | Protocol encryption public key to copy; see RFC 4211 section 6.6. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#