[#SCT_get_signature_nid]
= SCT&lowbar;get&lowbar;signature&lowbar;nid
:mrdocs:

Return the NID of the signature algorithm used by an SCT&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SCT&lowbar;get&lowbar;signature&lowbar;nid(xref:SCT.adoc[SCT] const* sct);
----

== Return Value

An NID such as NID&lowbar;sha256WithRSAEncryption or NID&lowbar;ecdsa&lowbar;with&lowbar;SHA256, or NID&lowbar;undef&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *sct*
| SCT to query&period;
|===


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