Compare an ASN.1 UTCTime value with a calendar time_t.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_UTCTIME_cmp_time_t(
    ASN1_UTCTIME const* s,
    time_t t);

Return Value

‐1 if s is before t, 0 if equal, 1 if after, or 0 on parse error (check ERR).

Parameters

Name

Description

s

UTCTime value to compare (must be a valid ASN1_UTCTIME).

t

POSIX time to compare against.

Created with MrDocs