Contains the earliest and latest times that a certificate is valid.
typedef struct_LDAPSSL_Cert_Validity_Period {
char notBeforeTime[40];
int notBeforeType;
char notAfterTime[40];
int notAfterType;
}
A string representation of the first time that the certificate should be considered valid.
The type of the notBeforeTime parameter. The time can be represented as universal time string or a generalized time string. (LDAPSSL_CERT_UTC_TIME or LDAPSSL_CERT_GEN_TIME).
A string representation of the expiration time of the certificate.
The type of the notAfterTime parameter. The time can be represented as universal time string or generalized time string. (LDAPSSL_CERT_UTC_TIME or LDAPSSL_CERT_GEN_TIME)
Generalized Time Format. generalized time represents the values of year, month, day, hour, minutes, seconds and fractions of a second in any of three forms:
Local time "YYYYMMDDHHMMSS.fff", where fff is optional and is fractions of a second
Greenwich Mean Time (UTC) "YYYYMMDDHHMMSS.fffZ", Z indicates Greenwich Mean Time
Difference between local and UTC time, "YYYYMMDDHHMMSS.fff+-HHMM", the +HHMM or -HHMM represents the time differential between the local and Greenwich Mean Times.
UTC Time Format. UTC format represents the values of year (2 digit), month, day, hour, minutes and optionally seconds.
Local time "YYMMDDHHMMSS", where seconds (SS) is optional
Greenwich Mean Time (UTC), "YYMMDDHHMMSSZ", seconds (SS) is optional and Z represents Greenwich Mean Time
Difference between local and UTC time, "YYMMDDHHMMSS+-HHMM", seconds (SS) is optional and +HHMM or -HHMM represents the time differential between local and Greenwich Mean Times.