CertificateSecurityState

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

Details about the security state of the page certificate.

Constructors

Link copied to clipboard
constructor(protocol: String, keyExchange: String, keyExchangeGroup: String? = null, cipher: String, mac: String? = null, certificate: List<String>, subjectName: String, issuer: String, validFrom: Double, validTo: Double, certificateNetworkError: String? = null, certificateHasWeakSignature: Boolean, certificateHasSha1Signature: Boolean, modernSSL: Boolean, obsoleteSslProtocol: Boolean, obsoleteSslKeyExchange: Boolean, obsoleteSslCipher: Boolean, obsoleteSslSignature: Boolean)

Properties

Link copied to clipboard

Page certificate.

Link copied to clipboard

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

Link copied to clipboard

True if the certificate uses a weak signature algorithm.

Link copied to clipboard

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

Link copied to clipboard

Cipher name.

Link copied to clipboard

Name of the issuing CA.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val mac: String? = null

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

Link copied to clipboard

True if modern SSL

Link copied to clipboard

True if the connection is using an obsolete SSL cipher.

Link copied to clipboard

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

Link copied to clipboard

True if the connection is using an obsolete SSL protocol.

Link copied to clipboard

True if the connection is using an obsolete SSL signature.

Link copied to clipboard

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

Link copied to clipboard

Certificate subject name.

Link copied to clipboard

Certificate valid from date.

Link copied to clipboard

Certificate valid to (expiration) date