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

Name

Description

bp

Output BIO.

tm

Time value (UTCTime or GeneralizedTime).

flags

Combination of ASN1_DTFLGS_* (for example ASN1_DTFLGS_ISO8601).

Created with MrDocs