CTLOG_new_from_base64

Create a CT log from a base64-encoded key using the default library context.

Synopsis

Declared in <openssl/ct.h>

int
CTLOG_new_from_base64(
    CTLOG** ct_log,
    char const* pkey_base64,
    char const* name);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ct_logReceives the new CT log on success; free with CTLOG_free().
pkey_base64Base64-encoded SubjectPublicKeyInfo DER.
nameHuman-readable name for the log.