CefRequestHandler OnCertificateError Method Xilium.CefGlue

[This is preliminary documentation and is subject to change.]

Called on the UI thread to handle requests for URLs with an invalid SSL certificate. Return true and call CefAllowCertificateErrorCallback:: Continue() either in this method or at a later time to continue or cancel the request. Return false to cancel the request immediately. If |callback| is empty the error cannot be recovered from and the request will be canceled automatically. If CefSettings.ignore_certificate_errors is set all invalid certificates will be accepted without calling this method.

Namespace: Xilium.CefGlue
Assembly: Xilium.CefGlue (in Xilium.CefGlue.dll) Version: 3.2272.2035.0 (3.2272.2035.0)
Syntax

protected virtual bool OnCertificateError(
	CefBrowser browser,
	CefErrorCode certError,
	string requestUrl,
	CefSslInfo sslInfo,
	CefAllowCertificateErrorCallback callback
)

Parameters

browser
Type: Xilium.CefGlue CefBrowser

[Missing <param name="browser"/> documentation for "M:Xilium.CefGlue.CefRequestHandler.OnCertificateError(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefErrorCode,System.String,Xilium.CefGlue.CefSslInfo,Xilium.CefGlue.CefAllowCertificateErrorCallback)"]

certError
Type: Xilium.CefGlue CefErrorCode

[Missing <param name="certError"/> documentation for "M:Xilium.CefGlue.CefRequestHandler.OnCertificateError(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefErrorCode,System.String,Xilium.CefGlue.CefSslInfo,Xilium.CefGlue.CefAllowCertificateErrorCallback)"]

requestUrl
Type: OnlineSystem String

[Missing <param name="requestUrl"/> documentation for "M:Xilium.CefGlue.CefRequestHandler.OnCertificateError(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefErrorCode,System.String,Xilium.CefGlue.CefSslInfo,Xilium.CefGlue.CefAllowCertificateErrorCallback)"]

sslInfo
Type: Xilium.CefGlue CefSslInfo

[Missing <param name="sslInfo"/> documentation for "M:Xilium.CefGlue.CefRequestHandler.OnCertificateError(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefErrorCode,System.String,Xilium.CefGlue.CefSslInfo,Xilium.CefGlue.CefAllowCertificateErrorCallback)"]

callback
Type: Xilium.CefGlue CefAllowCertificateErrorCallback

[Missing <param name="callback"/> documentation for "M:Xilium.CefGlue.CefRequestHandler.OnCertificateError(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefErrorCode,System.String,Xilium.CefGlue.CefSslInfo,Xilium.CefGlue.CefAllowCertificateErrorCallback)"]

Return Value

Type: OnlineBoolean

[Missing <returns> documentation for "M:Xilium.CefGlue.CefRequestHandler.OnCertificateError(Xilium.CefGlue.CefBrowser,Xilium.CefGlue.CefErrorCode,System.String,Xilium.CefGlue.CefSslInfo,Xilium.CefGlue.CefAllowCertificateErrorCallback)"]

See Also