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

Name

Description

public_key

Log public key; ownership is transferred to the CTLOG.

name

Human‐readable name copied into the log (helps identify the log).

Created with MrDocs