Set the protocolEncrKey regCtrl in a CRMF CertReqMsg.
Declared in <openssl/crmf.h>
int
OSSL_CRMF_MSG_set1_regCtrl_protocolEncrKey(
OSSL_CRMF_MSG* msg,
X509_PUBKEY const* pubkey);
1 on success, or 0 on error.
| Name | Description |
|---|---|
| msg | CertReqMsg to update. |
| pubkey | Protocol encryption public key to copy; see RFC 4211 section 6.6. |