Table of Contents

Class CertificateSecurityState

Namespace
Selenium.WebDriver.BiDi.Cdp.Security
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Details about the security state of the page certificate.

public sealed record CertificateSecurityState : IEquatable<CertificateSecurityState>
Inheritance
CertificateSecurityState
Implements
Inherited Members

Constructors

CertificateSecurityState(string, string, string, ImmutableArray<string>, string, string, TimeSinceEpoch, TimeSinceEpoch, bool, bool, bool, bool, bool, bool, bool)

Details about the security state of the page certificate.

public CertificateSecurityState(string Protocol, string KeyExchange, string Cipher, ImmutableArray<string> Certificate, string SubjectName, string Issuer, TimeSinceEpoch ValidFrom, TimeSinceEpoch ValidTo, bool CertificateHasWeakSignature, bool CertificateHasSha1Signature, bool ModernSSL, bool ObsoleteSslProtocol, bool ObsoleteSslKeyExchange, bool ObsoleteSslCipher, bool ObsoleteSslSignature)

Parameters

Protocol string

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

KeyExchange string

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

Cipher string

Cipher name.

Certificate ImmutableArray<string>

Page certificate.

SubjectName string

Certificate subject name.

Issuer string

Name of the issuing CA.

ValidFrom TimeSinceEpoch

Certificate valid from date.

ValidTo TimeSinceEpoch

Certificate valid to (expiration) date

CertificateHasWeakSignature bool

True if the certificate uses a weak signature algorithm.

CertificateHasSha1Signature bool

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

ModernSSL bool

True if modern SSL

ObsoleteSslProtocol bool

True if the connection is using an obsolete SSL protocol.

ObsoleteSslKeyExchange bool

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

ObsoleteSslCipher bool

True if the connection is using an obsolete SSL cipher.

ObsoleteSslSignature bool

True if the connection is using an obsolete SSL signature.

Properties

Certificate

Page certificate.

public ImmutableArray<string> Certificate { get; init; }

Property Value

ImmutableArray<string>

CertificateHasSha1Signature

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

public bool CertificateHasSha1Signature { get; init; }

Property Value

bool

CertificateHasWeakSignature

True if the certificate uses a weak signature algorithm.

public bool CertificateHasWeakSignature { get; init; }

Property Value

bool

CertificateNetworkError

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

public string? CertificateNetworkError { get; init; }

Property Value

string

Cipher

Cipher name.

public string Cipher { get; init; }

Property Value

string

Issuer

Name of the issuing CA.

public string Issuer { get; init; }

Property Value

string

KeyExchange

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

public string KeyExchange { get; init; }

Property Value

string

KeyExchangeGroup

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

public string? KeyExchangeGroup { get; init; }

Property Value

string

Mac

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

public string? Mac { get; init; }

Property Value

string

ModernSSL

True if modern SSL

public bool ModernSSL { get; init; }

Property Value

bool

ObsoleteSslCipher

True if the connection is using an obsolete SSL cipher.

public bool ObsoleteSslCipher { get; init; }

Property Value

bool

ObsoleteSslKeyExchange

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

public bool ObsoleteSslKeyExchange { get; init; }

Property Value

bool

ObsoleteSslProtocol

True if the connection is using an obsolete SSL protocol.

public bool ObsoleteSslProtocol { get; init; }

Property Value

bool

ObsoleteSslSignature

True if the connection is using an obsolete SSL signature.

public bool ObsoleteSslSignature { get; init; }

Property Value

bool

Protocol

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

public string Protocol { get; init; }

Property Value

string

SubjectName

Certificate subject name.

public string SubjectName { get; init; }

Property Value

string

ValidFrom

Certificate valid from date.

public TimeSinceEpoch ValidFrom { get; init; }

Property Value

TimeSinceEpoch

ValidTo

Certificate valid to (expiration) date

public TimeSinceEpoch ValidTo { get; init; }

Property Value

TimeSinceEpoch