Convert an ASN1_TIME to GeneralizedTime form.
Declared in <openssl/asn1.h>
ASN1_GENERALIZEDTIME*
ASN1_TIME_to_generalizedtime(
ASN1_TIME const* t,
ASN1_GENERALIZEDTIME** out);
Pointer to the GeneralizedTime result, or NULL on error.
| 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. |