ASN1_TIME_print

Print an ASN.1 Time (UTCTime or GeneralizedTime) to a BIO in a human-readable form.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_TIME_print(
    BIO* bp,
    ASN1_TIME const* tm);

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
bpBIO that receives the formatted timestamp text.
tmTime value to print; must be a valid ASN1_TIME (UTCTIME or GENERALIZEDTIME).