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

Name

Description

meth

POPO method (OSSL_CRMF_POPO_*); see RFC 4211 section 4.

crm

CertReqMsg to update.

pkey

Private key used when meth is OSSL_CRMF_POPO_SIGNATURE.

digest

Digest for signature POPO; ignored for Ed25519/Ed448 keys.

libctx

Library context for algorithm fetches, or NULL for the default.

propq

Property query for algorithm fetches, or NULL.

Created with MrDocs