SCT_set1_extensions

Set the SCT extensions field by copying ext.

Synopsis

Declared in <openssl/ct.h>

int
SCT_set1_extensions(
    SCT* sct,
    unsigned char const* ext,
    size_t ext_len);

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
sctSCT to update.
extExtension bytes to copy, or NULL when ext_len is 0.
ext_lenLength of ext in bytes.