XHR_CERT_ERROR_FLAG enumeration (msxml6.h)

Defines flags that indicate server certificate errors during SSL negotiation with the server by handling the OnServerCertificateReceived method on the IXMLHTTPRequest3Callback interface.

Syntax

typedef enum _XHR_CERT_ERROR_FLAG {
  XHR_CERT_ERROR_REVOCATION_FAILED = 0x800000UL,
  XHR_CERT_ERROR_UNKNOWN_CA,
  XHR_CERT_ERROR_CERT_CN_INVALID,
  XHR_CERT_ERROR_CERT_DATE_INVALID,
  XHR_CERT_ERROR_ALL_SERVER_ERRORS
} XHR_CERT_ERROR_FLAG;

Constants

 
XHR_CERT_ERROR_REVOCATION_FAILED
Value: 0x800000UL
The certificate received from the server has an invalid certificate revocation.
XHR_CERT_ERROR_UNKNOWN_CA
The certificate received from the server has an unknown or invalid certificate authority.
XHR_CERT_ERROR_CERT_CN_INVALID
The certificate received from the server has an invalid common name.
XHR_CERT_ERROR_CERT_DATE_INVALID
The certificate received from the server has an invalid certificate date.
XHR_CERT_ERROR_ALL_SERVER_ERRORS
The certificate received from the server has an invalid certificate revocation, and unknown or invalid certificate authority, an invalid common name, and an invalid certificate date.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Header msxml6.h

See also

IXMLHTTPRequest3Callback

OnServerCertificateReceived