[#CTLOG_new_from_base64]
= CTLOG&lowbar;new&lowbar;from&lowbar;base64
:mrdocs:

Create a CT log from a base64&hyphen;encoded key using the default library context&period;

== Synopsis

Declared in `&lt;openssl&sol;ct&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CTLOG&lowbar;new&lowbar;from&lowbar;base64(
    xref:CTLOG.adoc[CTLOG]** ct&lowbar;log,
    char const* pkey&lowbar;base64,
    char const* name);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ct&lowbar;log*
| Receives the new CT log on success&semi; free with CTLOG&lowbar;free()&period;
| *pkey&lowbar;base64*
| Base64&hyphen;encoded SubjectPublicKeyInfo DER&period;
| *name*
| Human&hyphen;readable name for the log&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
