X509CertVerify2 (FUN)

FUNCTION X509CertVerify2 : RTS_IEC_RESULT

Verify the given certificate. THIS verify checks only IF the certificate itself is trusted using the certificates in the store. The verify checks if the certificate was added to the untrusted certs list. No subjects, key usages or other fields are verified. This has to be done by the application using this function. This is disabled by default.

InOut:

Scope

Name

Type

Comment

Return

X509CertVerify2

RTS_IEC_RESULT

Result of certificate validation. One of the ERR_CERT_… error codes.

Input

hCertStore

RTS_IEC_HANDLE

Handle of to certificate store.

hCert

RTS_IEC_HANDLE

Certificate to verify.

validationTimestamp

SYSTIME

The time-stamp used to verify the certificate. Same timebase as UtcHighresGet. If 0 the current time will be used.

verificationFlags

RtsX509VerifyFlags

Flags to configure the verification process. See RTSX509VERIFYFLAGS for details.