X509CertCheckHost (FUN)ΒΆ
FUNCTION X509CertCheckHost : BOOL
Check if a certificate is bound to a specific host name. Both subject and subject alternative names are checked.
- InOut:
Scope
Name
Type
Comment
Return
X509CertCheckHostBOOLTrue if the host name is part of the certificate.
Input
hCertRTS_IEC_HANDLEHandle of to certificate.
pHostPOINTER TO STRING
Hostname to check.
flagsRtsX509CertCheckFlagsFlags how to check for the host name. Values of the enumeration can be combined.
pResultPOINTER TO RTS_IEC_RESULT
Pointer to the error code. ERR_PARAMETER: hCert is invalid, ERR_OK: everything went fine.