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
X509CertVerify2RTS_IEC_RESULTResult of certificate validation. One of the ERR_CERT_… error codes.
Input
hCertStoreRTS_IEC_HANDLEHandle of to certificate store.
hCertRTS_IEC_HANDLECertificate to verify.
validationTimestampSYSTIMEThe time-stamp used to verify the certificate. Same timebase as UtcHighresGet. If 0 the current time will be used.
verificationFlagsRtsX509VerifyFlagsFlags to configure the verification process. See RTSX509VERIFYFLAGS for details.