123456789101112131415161718192021222324252627282930313233 |
- namespace Xilium.CefGlue
- {
- using System;
- using System.Collections.Generic;
- using System.Diagnostics;
- using System.Runtime.InteropServices;
- using Xilium.CefGlue.Interop;
- /// <summary>
- /// Class representing SSL information.
- /// </summary>
- public sealed unsafe partial class CefSslInfo
- {
- /// <summary>
- /// Returns a bitmask containing any and all problems verifying the server
- /// certificate.
- /// </summary>
- public CefCertStatus CertStatus
- {
- get { return cef_sslinfo_t.get_cert_status(_self); }
- }
- /// <summary>
- /// Returns the X.509 certificate.
- /// </summary>
- public CefX509Certificate GetX509Certificate()
- {
- return CefX509Certificate.FromNative(
- cef_sslinfo_t.get_x509certificate(_self)
- );
- }
- }
- }
|