X509_CHOICE_OF_TIME

When X509_CHOICE_OF_TIME is used for the lpszStructType with CryptEncodeObject, CryptEncodeObjectEx, CryptDecodeObject, or CryptDecodeObjectEx the following details apply.

Object Identifier String

N/A

Corresponding Data Structure being encoded or decoded

pvStructInfo points to a FILETIME.

Additional Details

For X509_ASN_ENCODING, if the time is after 1950 and before 2050, it is UTC time encoded as a two-digit year precise to seconds. Otherwise, it is Generalized time encoded as a four-digit year precise to seconds.