X509CertVerify (FUN)

FUNCTION X509CertVerify : 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. If the verify should use CRL to verify the certificates set the setting VerifyUseCRL to 1. This is disabled by default.

InOut:

Scope

Name

Type

Comment

Return

X509CertVerify

RTS_IEC_RESULT

Result of the verification. Refer to ERR_CERT_… error codes

Input

hCertStore

RTS_IEC_HANDLE

Handle of to certificate store.

hCert

RTS_IEC_HANDLE

Certificate to verify.