XHR_CERT_IGNORE_FLAG enumeration (msxml6.h)
Defines flags that you can assign to an outgoing HTTP request to ignore certain certificate errors by calling the SetProperty method on the IXMLHTTPRequest3 interface.
Syntax
typedef enum _XHR_CERT_IGNORE_FLAG {
XHR_CERT_IGNORE_REVOCATION_FAILED = 0x80UL,
XHR_CERT_IGNORE_UNKNOWN_CA = 0x100UL,
XHR_CERT_IGNORE_CERT_CN_INVALID = 0x1000UL,
XHR_CERT_IGNORE_CERT_DATE_INVALID = 0x2000UL,
XHR_CERT_IGNORE_ALL_SERVER_ERRORS
} XHR_CERT_IGNORE_FLAG;
Constants
XHR_CERT_IGNORE_REVOCATION_FAILED Value: 0x80UL Ignore certificate revocation errors. |
XHR_CERT_IGNORE_UNKNOWN_CA Value: 0x100UL Ignore a certificate error for an unknown or invalid certificate authority. |
XHR_CERT_IGNORE_CERT_CN_INVALID Value: 0x1000UL Ignore a certificate error caused by an invalid common name. This allows an invalid common name in a certificate where the server name specified by the app for the requested URL does not match the common name in the server certificate. |
XHR_CERT_IGNORE_CERT_DATE_INVALID Value: 0x2000UL Ignore a certificate error caused by an invalid date in the certificate. This allows certificates that are expired or not yet effective. |
XHR_CERT_IGNORE_ALL_SERVER_ERRORS Ignore all server certificate errors. |
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 |