[#PKCS7_to_TS_TST_INFO]
= PKCS7&lowbar;to&lowbar;TS&lowbar;TST&lowbar;INFO
:mrdocs:

Extract the TSTInfo content from a PKCS&num;7 time&hyphen;stamp token&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:TS_TST_INFO.adoc[TS&lowbar;TST&lowbar;INFO]*
PKCS7&lowbar;to&lowbar;TS&lowbar;TST&lowbar;INFO(xref:PKCS7.adoc[PKCS7]* token);
----

== Return Value

Newly allocated TS&lowbar;TST&lowbar;INFO, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *token*
| Signed PKCS&num;7 ContentInfo expected to encapsulate id&hyphen;ct&hyphen;TSTInfo&period;
|===


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