[#ASN1_TIME_to_generalizedtime] = ASN1_TIME_to_generalizedtime :mrdocs: Convert an ASN1_TIME to GeneralizedTime form. == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:ASN1_GENERALIZEDTIME.adoc[ASN1_GENERALIZEDTIME]* ASN1_TIME_to_generalizedtime( xref:ASN1_TIME.adoc[ASN1_TIME] const* t, xref:ASN1_GENERALIZEDTIME.adoc[ASN1_GENERALIZEDTIME]** out); ---- == Return Value Pointer to the GeneralizedTime result, or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *t* | Source time (UTCTime or GeneralizedTime). | *out* | Optional destination; if non‐NULL and *`out` is non‐NULL it is reused, otherwise a new value is allocated and returned via *`out` when `out` is non‐NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#