Create an SCT from base64‐encoded log id, extensions, and signature fields.
Synopsis
Declared in <openssl/ct.h>
SCT*
SCT_new_from_base64(
unsigned char version,
char const* logid_base64,
ct_log_entry_type_t entry_type,
uint64_t timestamp,
char const* extensions_base64,
char const* signature_base64);
Return Value
New SCT, or NULL on error; free with SCT_free.
Parameters
Name |
Description |
version |
SCT version byte (typically SCT_VERSION_V1). |
logid_base64 |
Base64‐encoded CT log ID. |
entry_type |
Log entry type (X.509 certificate or precertificate). |
timestamp |
SCT timestamp in milliseconds since the Unix epoch. |
extensions_base64 |
Base64‐encoded SCT extensions, or empty/NULL for none. |
signature_base64 |
Base64‐encoded SCT signature. |
Created with MrDocs