OSSL_CMP_CTX_set1_recipient

Set the intended recipient DN placed in outgoing CMP PKIHeader fields.

Synopsis

Declared in <openssl/cmp.h>

int
OSSL_CMP_CTX_set1_recipient(
    OSSL_CMP_CTX* ctx,
    X509_NAME const* name);

Return Value

1 on success, 0 on error.

Parameters

NameDescription
ctxCMP context.
nameRecipient X509_NAME, or NULL to clear.