android-components / mozilla.components.browser.session / Session / SecurityInfo

SecurityInfo

data class SecurityInfo (source)

A value type holding security information for a Session.

Constructors

Name Summary
<init> SecurityInfo(secure: Boolean = false, host: String = "", issuer: String = "")
A value type holding security information for a Session.

Properties

Name Summary
host val host: String
domain for which the SSL certificate was issued.
issuer val issuer: String
name of the certificate authority who issued the SSL certificate.
secure val secure: Boolean
true if the session is currently pointed to a URL with a valid SSL certificate, otherwise false.

Extension Functions

Name Summary
toSecurityInfoState fun SecurityInfo.toSecurityInfoState(): SecurityInfoState
Creates a matching SecurityInfoState from a Session.SecurityInfo