[#SCT_get0_extensions]
= SCT&lowbar;get0&lowbar;extensions
:mrdocs:

Return a pointer to the extension data embedded in an SCT&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
size&lowbar;t
SCT&lowbar;get0&lowbar;extensions(
    xref:SCT.adoc[SCT] const* sct,
    unsigned char** ext);
----

== Return Value

Length of the extension data in bytes&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *sct*
| Signed Certificate Timestamp to query&period;
| *ext*
| Non&hyphen;NULL destination for an internal pointer to the extension bytes (do not free)&period;
|===


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