Set the protocolEncrKey regCtrl in a CRMF CertReqMsg.

Synopsis

Declared in <openssl/crmf.h>

int
OSSL_CRMF_MSG_set1_regCtrl_protocolEncrKey(
    OSSL_CRMF_MSG* msg,
    X509_PUBKEY const* pubkey);

Return Value

1 on success, or 0 on error.

Parameters

Name

Description

msg

CertReqMsg to update.

pubkey

Protocol encryption public key to copy; see RFC 4211 section 6.6.

Created with MrDocs