OSSL_CRMF_MSG_create_popo

Create and set the Proof-of-Possession field in a CRMF CertReqMsg.

Synopsis

Declared in <openssl/crmf.h>

int
OSSL_CRMF_MSG_create_popo(
    int meth,
    OSSL_CRMF_MSG* crm,
    EVP_PKEY* pkey,
    EVP_MD const* digest,
    OSSL_LIB_CTX* libctx,
    char const* propq);

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
methPOPO method (OSSL_CRMF_POPO_*); see RFC 4211 section 4.
crmCertReqMsg to update.
pkeyPrivate key used when meth is OSSL_CRMF_POPO_SIGNATURE.
digestDigest for signature POPO; ignored for Ed25519/Ed448 keys.
libctxLibrary context for algorithm fetches, or NULL for the default.
propqProperty query for algorithm fetches, or NULL.