OSSL_CMP_CTX_set1_oldCert

Set the old certificate referenced by a key-update request.

Synopsis

Declared in <openssl/cmp.h>

int
OSSL_CMP_CTX_set1_oldCert(
    OSSL_CMP_CTX* ctx,
    X509* cert);

Return Value

1 on success, 0 on error.

Parameters

NameDescription
ctxCMP context.
certOld certificate to copy into the context, or NULL to clear.