X509CertIsDateValid (FUN)

FUNCTION X509CertIsDateValid : BOOL

Check if a certificate has a valid date (notbefore and notafter is in the current time period)

InOut:

Scope

Name

Type

Comment

Return

X509CertIsDateValid

BOOL

True if the certificate date is valid

Input

hCert

RTS_IEC_HANDLE

Handle of to certificate.

pResult

POINTER TO RTS_IEC_RESULT

Pointer to error code. ERR_OK: Everything went fine, ERR_PARAMETER: hCert was invalid