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

Name

Description

bp

BIO that receives the formatted timestamp text.

tm

Time value to print; must be a valid ASN1_TIME (UTCTIME or GENERALIZEDTIME).

Created with MrDocs