[#PKCS7_add0_attrib_signing_time]
= PKCS7&lowbar;add0&lowbar;attrib&lowbar;signing&lowbar;time
:mrdocs:

Add a signing&hyphen;time authenticated attribute, taking ownership of `t&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
PKCS7&lowbar;add0&lowbar;attrib&lowbar;signing&lowbar;time(
    xref:PKCS7_SIGNER_INFO.adoc[PKCS7&lowbar;SIGNER&lowbar;INFO]* si,
    xref:ASN1_TIME.adoc[ASN1&lowbar;TIME]* t);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *si*
| SignerInfo to update&period;
| *t*
| Signing time to attach, or NULL to use the current time (allocated internally)&period;
|===


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