Table of Contents

Class CertificateSecurityState

Namespace
OpenQA.Selenium.DevTools.V147.Security
Assembly
Selenium.WebDriver.dll

Details about the security state of the page certificate.

public sealed class CertificateSecurityState
Inheritance
CertificateSecurityState
Inherited Members

Properties

Certificate

Page certificate.

[JsonPropertyName("certificate")]
public string[] Certificate { get; set; }

Property Value

string[]

CertificateHasSha1Signature

True if the certificate has a SHA1 signature in the chain.

[JsonPropertyName("certificateHasSha1Signature")]
public bool CertificateHasSha1Signature { get; set; }

Property Value

bool

CertificateHasWeakSignature

True if the certificate uses a weak signature algorithm.

[JsonPropertyName("certificateHasWeakSignature")]
public bool CertificateHasWeakSignature { get; set; }

Property Value

bool

CertificateNetworkError

The highest priority network error code, if the certificate has an error.

[JsonPropertyName("certificateNetworkError")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? CertificateNetworkError { get; set; }

Property Value

string

Cipher

Cipher name.

[JsonPropertyName("cipher")]
public string Cipher { get; set; }

Property Value

string

Issuer

Name of the issuing CA.

[JsonPropertyName("issuer")]
public string Issuer { get; set; }

Property Value

string

KeyExchange

Key Exchange used by the connection, or the empty string if not applicable.

[JsonPropertyName("keyExchange")]
public string KeyExchange { get; set; }

Property Value

string

KeyExchangeGroup

(EC)DH group used by the connection, if applicable.

[JsonPropertyName("keyExchangeGroup")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? KeyExchangeGroup { get; set; }

Property Value

string

Mac

TLS MAC. Note that AEAD ciphers do not have separate MACs.

[JsonPropertyName("mac")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Mac { get; set; }

Property Value

string

ModernSSL

True if modern SSL

[JsonPropertyName("modernSSL")]
public bool ModernSSL { get; set; }

Property Value

bool

ObsoleteSslCipher

True if the connection is using an obsolete SSL cipher.

[JsonPropertyName("obsoleteSslCipher")]
public bool ObsoleteSslCipher { get; set; }

Property Value

bool

ObsoleteSslKeyExchange

True if the connection is using an obsolete SSL key exchange.

[JsonPropertyName("obsoleteSslKeyExchange")]
public bool ObsoleteSslKeyExchange { get; set; }

Property Value

bool

ObsoleteSslProtocol

True if the connection is using an obsolete SSL protocol.

[JsonPropertyName("obsoleteSslProtocol")]
public bool ObsoleteSslProtocol { get; set; }

Property Value

bool

ObsoleteSslSignature

True if the connection is using an obsolete SSL signature.

[JsonPropertyName("obsoleteSslSignature")]
public bool ObsoleteSslSignature { get; set; }

Property Value

bool

Protocol

Protocol name (e.g. "TLS 1.2" or "QUIC").

[JsonPropertyName("protocol")]
public string Protocol { get; set; }

Property Value

string

SubjectName

Certificate subject name.

[JsonPropertyName("subjectName")]
public string SubjectName { get; set; }

Property Value

string

ValidFrom

Certificate valid from date.

[JsonPropertyName("validFrom")]
public double ValidFrom { get; set; }

Property Value

double

ValidTo

Certificate valid to (expiration) date

[JsonPropertyName("validTo")]
public double ValidTo { get; set; }

Property Value

double