OSSL_CMP_CTX_set1_senderNonce

Set the senderNonce placed in outgoing CMP PKIHeader fields.

Synopsis

Declared in <openssl/cmp.h>

int
OSSL_CMP_CTX_set1_senderNonce(
    OSSL_CMP_CTX* ctx,
    ASN1_OCTET_STRING const* nonce);

Return Value

1 on success, 0 on error.

Parameters

NameDescription
ctxCMP context.
nonceSender nonce octet string to copy, or NULL to clear.