Matches the hostname against the certificate hostname.
- Parameters
-
pszDnsName | [ in ] A pointer to a NULL terminated wide character string formatted according to section 3.5 "Preferred name syntax" of RFC 1034. |
fFlags | [ in ] One of the P6R::P6CERTMATCHFLAGS flags: P6CMF_NOFLAGS, P6CMF_DISABLE_WILDCARDS or P6CMF_ALWAYS_CHECK_SUBJECT. These may be ORed together. |
- Returns
Success | P6R::eOk | The hostname match the certificate. |
Failure | P6R::eInvalidArg | pszDnsName was NULL or flags are out of range. |
P6R::eNotInitialized | The certificate interface has not been initialized. |
P6R::eNotFound | The hostname did not match the certificate |