CertificateSecurityState

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

Details about the security state of the page certificate.

Constructors

CertificateSecurityState
Link copied to clipboard
fun 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
Link copied to clipboard
val certificate: List<String>
Page certificate.
certificateHasSha1Signature
Link copied to clipboard
val certificateHasSha1Signature: Boolean
True if the certificate has a SHA1 signature in the chain.
certificateHasWeakSignature
Link copied to clipboard
val certificateHasWeakSignature: Boolean
True if the certificate uses a weak signature aglorithm.
certificateNetworkError
Link copied to clipboard
val certificateNetworkError: String? = null
The highest priority network error code, if the certificate has an error.
cipher
Link copied to clipboard
val cipher: String
Cipher name.
issuer
Link copied to clipboard
val issuer: String
Name of the issuing CA.
keyExchange
Link copied to clipboard
val keyExchange: String
Key Exchange used by the connection, or the empty string if not applicable.
keyExchangeGroup
Link copied to clipboard
val keyExchangeGroup: String? = null
(EC)DH group used by the connection, if applicable.
mac
Link copied to clipboard
val mac: String? = null
TLS MAC.
modernSSL
Link copied to clipboard
val modernSSL: Boolean
True if modern SSL
obsoleteSslCipher
Link copied to clipboard
val obsoleteSslCipher: Boolean
True if the connection is using an obsolete SSL cipher.
obsoleteSslKeyExchange
Link copied to clipboard
val obsoleteSslKeyExchange: Boolean
True if the connection is using an obsolete SSL key exchange.
obsoleteSslProtocol
Link copied to clipboard
val obsoleteSslProtocol: Boolean
True if the connection is using an obsolete SSL protocol.
obsoleteSslSignature
Link copied to clipboard
val obsoleteSslSignature: Boolean
True if the connection is using an obsolete SSL signature.
protocol
Link copied to clipboard
val protocol: String
Protocol name (e.g.
subjectName
Link copied to clipboard
val subjectName: String
Certificate subject name.
validFrom
Link copied to clipboard
val validFrom: TimeSinceEpoch
Certificate valid from date.
validTo
Link copied to clipboard
val validTo: TimeSinceEpoch
Certificate valid to (expiration) date

Sources

jvm source
Link copied to clipboard