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

X509CertCheckHost

BOOL

True if the host name is part of the certificate.

Input

hCert

RTS_IEC_HANDLE

pHost

POINTER TO STRING

Handle of to certificate.

flags

RtsX509CertCheckFlags

Hostname to check.

pResult

POINTER TO RTS_IEC_RESULT

Flags how to check for the host name. Values of the enumeration can be combined.