OSSL_CMP_CTX_set1_serialNumber

Set the serial number field in the certificate template.

Synopsis

Declared in <openssl/cmp.h>

int
OSSL_CMP_CTX_set1_serialNumber(
    OSSL_CMP_CTX* ctx,
    ASN1_INTEGER const* sn);

Return Value

1 on success, 0 on error.

Parameters

NameDescription
ctxCMP context.
snSerial number to copy, or NULL to clear.