CTLOG_new

Create a CT log with a public key and name using the default library context.

Synopsis

Declared in <openssl/ct.h>

CTLOG*
CTLOG_new(
    EVP_PKEY* public_key,
    char const* name);

Return Value

New CTLOG, or NULL on allocation or DER-conversion failure; free with CTLOG_free().

Parameters

NameDescription
public_keyLog public key; ownership is transferred to the CTLOG.
nameHuman-readable name copied into the log (helps identify the log).