chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.security / CertificateSecurityState

CertificateSecurityState

data class CertificateSecurityState

Details about the security state of the page certificate.

Constructors

<init>

Details about the security state of the page certificate.

CertificateSecurityState(protocol: String, keyExchange: String, keyExchangeGroup: String? = null, cipher: String, mac: String? = null, certificate: List<String>, subjectName: String, issuer: String, validFrom: TimeSinceEpoch, validTo: TimeSinceEpoch, certificateNetworkError: String? = null, certificateHasWeakSignature: Boolean, certificateHasSha1Signature: Boolean, modernSSL: Boolean, obsoleteSslProtocol: Boolean, obsoleteSslKeyExchange: Boolean, obsoleteSslCipher: Boolean, obsoleteSslSignature: Boolean)

Properties

certificate

Page certificate.

val certificate: List<String>

certificateHasSha1Signature

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

val certificateHasSha1Signature: Boolean

certificateHasWeakSignature

True if the certificate uses a weak signature aglorithm.

val certificateHasWeakSignature: Boolean

certificateNetworkError

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

val certificateNetworkError: String?

cipher

Cipher name.

val cipher: String

issuer

Name of the issuing CA.

val issuer: String

keyExchange

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

val keyExchange: String

keyExchangeGroup

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

val keyExchangeGroup: String?

mac

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

val mac: String?

modernSSL

True if modern SSL

val modernSSL: Boolean

obsoleteSslCipher

True if the connection is using an obsolete SSL cipher.

val obsoleteSslCipher: Boolean

obsoleteSslKeyExchange

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

val obsoleteSslKeyExchange: Boolean

obsoleteSslProtocol

True if the connection is using an obsolete SSL protocol.

val obsoleteSslProtocol: Boolean

obsoleteSslSignature

True if the connection is using an obsolete SSL signature.

val obsoleteSslSignature: Boolean

protocol

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

val protocol: String

subjectName

Certificate subject name.

val subjectName: String

validFrom

Certificate valid from date.

val validFrom: TimeSinceEpoch

validTo

Certificate valid to (expiration) date

val validTo: TimeSinceEpoch