ASN1_TIME_print_ex

Print an ASN.1 Time to a BIO with ASN1_DTFLGS_* formatting flags.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_TIME_print_ex(
    BIO* bp,
    ASN1_TIME const* tm,
    unsigned long flags);

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
bpOutput BIO.
tmTime value (UTCTime or GeneralizedTime).
flagsCombination of ASN1_DTFLGS_* (for example ASN1_DTFLGS_ISO8601).