pl.wendigo.chrome.api.security / CertificateSecurityState

CertificateSecurityState

data class CertificateSecurityState (source)

Details about the security state of the page certificate.

Link
Security#CertificateSecurityState type documentation.

Constructors

<init>

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)

Details about the security state of the page certificate.

Properties

certificate

val certificate: List<String>

Page certificate.

certificateHasSha1Signature

val certificateHasSha1Signature: Boolean

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

certificateHasWeakSignature

val certificateHasWeakSignature: Boolean

True if the certificate uses a weak signature aglorithm.

certificateNetworkError

val certificateNetworkError: String?

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

cipher

val cipher: String

Cipher name.

issuer

val issuer: String

Name of the issuing CA.

keyExchange

val keyExchange: String

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

keyExchangeGroup

val keyExchangeGroup: String?

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

mac

val mac: String?

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

modernSSL

val modernSSL: Boolean

True if modern SSL

obsoleteSslCipher

val obsoleteSslCipher: Boolean

True if the connection is using an obsolete SSL cipher.

obsoleteSslKeyExchange

val obsoleteSslKeyExchange: Boolean

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

obsoleteSslProtocol

val obsoleteSslProtocol: Boolean

True if the connection is using an obsolete SSL protocol.

obsoleteSslSignature

val obsoleteSslSignature: Boolean

True if the connection is using an obsolete SSL signature.

protocol

val protocol: String

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

subjectName

val subjectName: String

Certificate subject name.

validFrom

val validFrom: TimeSinceEpoch

Certificate valid from date.

validTo

val validTo: TimeSinceEpoch

Certificate valid to (expiration) date