[#CTLOG_new] = CTLOG_new :mrdocs: Create a CT log with a public key and name using the default library context. == Synopsis Declared in `<openssl/ct.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CTLOG.adoc[CTLOG]* CTLOG_new( xref:EVP_PKEY.adoc[EVP_PKEY]* public_key, char const* name); ---- == Return Value New CTLOG, or NULL on allocation or DER‐conversion failure; free with CTLOG_free(). == Parameters [cols="1,4"] |=== | 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). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#