mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 19:25:01 +00:00
68 lines
2.3 KiB
C#
68 lines
2.3 KiB
C#
// Copyright © 2020 The CefSharp Authors. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
namespace CefSharp.DevTools.Security
|
|
{
|
|
/// <summary>
|
|
/// Security state information about the page.
|
|
/// </summary>
|
|
[System.Runtime.Serialization.DataContractAttribute]
|
|
public class VisibleSecurityState : CefSharp.DevTools.DevToolsDomainEntityBase
|
|
{
|
|
/// <summary>
|
|
/// The security level of the page.
|
|
/// </summary>
|
|
public CefSharp.DevTools.Security.SecurityState SecurityState
|
|
{
|
|
get
|
|
{
|
|
return (CefSharp.DevTools.Security.SecurityState)(StringToEnum(typeof(CefSharp.DevTools.Security.SecurityState), securityState));
|
|
}
|
|
|
|
set
|
|
{
|
|
securityState = (EnumToString(value));
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// The security level of the page.
|
|
/// </summary>
|
|
[System.Runtime.Serialization.DataMemberAttribute(Name = ("securityState"), IsRequired = (true))]
|
|
internal string securityState
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Security state details about the page certificate.
|
|
/// </summary>
|
|
[System.Runtime.Serialization.DataMemberAttribute(Name = ("certificateSecurityState"), IsRequired = (false))]
|
|
public CefSharp.DevTools.Security.CertificateSecurityState CertificateSecurityState
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The type of Safety Tip triggered on the page. Note that this field will be set even if the Safety Tip UI was not actually shown.
|
|
/// </summary>
|
|
[System.Runtime.Serialization.DataMemberAttribute(Name = ("safetyTipInfo"), IsRequired = (false))]
|
|
public CefSharp.DevTools.Security.SafetyTipInfo SafetyTipInfo
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Array of security state issues ids.
|
|
/// </summary>
|
|
[System.Runtime.Serialization.DataMemberAttribute(Name = ("securityStateIssueIds"), IsRequired = (true))]
|
|
public string[] SecurityStateIssueIds
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
} |