Set the serial number field in the certificate template.
Declared in <openssl/cmp.h>
int
OSSL_CMP_CTX_set1_serialNumber(
OSSL_CMP_CTX* ctx,
ASN1_INTEGER const* sn);
1 on success, 0 on error.
| Name | Description |
|---|---|
| ctx | CMP context. |
| sn | Serial number to copy, or NULL to clear. |