Table of Contents
- Getting Started
- EO.Pdf
- EO.Web
- EO.WebBrowser
- Overview
- Installation and Deployment
- Getting Started
- Customizing WebView
- Advanced Topics
- Executing JavaScript Code
- JavaScript and DOM Interface
- Using JavaScript Extension
- Passing Complex Data Objects in between JavaScript and .NET
- Custom Resource Handler
- Custom Response Handling
- Handling Input Events
- Handling New Window
- Managing Browser Engines
- Setting WebView Options
- Authentication
- Working with Certificates
- Working with Local Files
- Printing Pages
- HTML 5 Support
- Using Plugins
- Debugging Web Pages
- Using Google Services
- EO.Wpf
- Common Topics
- Reference
Working with Certificates |
EO.WebBrowser supports both server certificate and client certificate.
Server Certificate
Server certificates is the certificate that the web server presents to the browser (in this case EO.WebBrowser). The server may present an invalid certificate. In this case the WebView's CertificateError event will be raised. Inside your event handler you can:
- Prompt the user that the server has presented an invalid certificate. You can examine the event argument for more information about the error;
- If you wish to ignore the error and continue, call the event argument's Continue method to continue the request. If you do not call this method, the request will be cancelled;
Client Certificate
Client certificate is the certificate that the browser (in this case EO.WebBrowser) presents to the server. If this is the case, the server will ask the browser for a certificate. When this happens, the WebView's NeedClientCertificate event will be raised. Inside this event handler you can:
- Call the event argument's Continue method with your client certificate. The server may accept or reject your client certificate. If the server rejects your client certificate, the request will be cancelled; -- OR --
- Call the event argument's ContinueWithoutCertificate method to continue without a certificate. The server may accept or reject this. If the server rejects this, the request will be cancelled;