Package org.mozilla.geckoview
Class GeckoSession.ProgressDelegate.SecurityInformation
Object
org.mozilla.geckoview.GeckoSession.ProgressDelegate.SecurityInformation
- Enclosing interface:
- GeckoSession.ProgressDelegate
Class representing security information for a site.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic @interface
static @interface
-
Field Summary
Modifier and TypeFieldDescriptionfinal X509Certificate
The server certificate in use, if any.static final int
static final int
static final int
final String
Contains the host associated with the certificate.final boolean
Indicates whether or not the site is a security exception.final boolean
Indicates whether or not the site is secure.final int
Indicates the presence of active mixed content; possible values are CONTENT_UNKNOWN, CONTENT_BLOCKED, and CONTENT_LOADED.final int
Indicates the presence of passive mixed content; possible values are CONTENT_UNKNOWN, CONTENT_BLOCKED, and CONTENT_LOADED.final String
Contains the origin of the certificate.static final int
static final int
static final int
final int
Indicates the security level of the site; possible values are SECURITY_MODE_UNKNOWN, SECURITY_MODE_IDENTIFIED, and SECURITY_MODE_VERIFIED. -
Constructor Summary
-
Method Summary
-
Field Details
-
SECURITY_MODE_UNKNOWN
public static final int SECURITY_MODE_UNKNOWN- See Also:
-
SECURITY_MODE_IDENTIFIED
public static final int SECURITY_MODE_IDENTIFIED- See Also:
-
SECURITY_MODE_VERIFIED
public static final int SECURITY_MODE_VERIFIED- See Also:
-
CONTENT_UNKNOWN
public static final int CONTENT_UNKNOWN- See Also:
-
CONTENT_BLOCKED
public static final int CONTENT_BLOCKED- See Also:
-
CONTENT_LOADED
public static final int CONTENT_LOADED- See Also:
-
isSecure
public final boolean isSecureIndicates whether or not the site is secure. -
isException
public final boolean isExceptionIndicates whether or not the site is a security exception. -
origin
Contains the origin of the certificate. -
host
Contains the host associated with the certificate. -
certificate
The server certificate in use, if any. -
securityMode
public final int securityModeIndicates the security level of the site; possible values are SECURITY_MODE_UNKNOWN, SECURITY_MODE_IDENTIFIED, and SECURITY_MODE_VERIFIED. SECURITY_MODE_IDENTIFIED indicates domain validation only, while SECURITY_MODE_VERIFIED indicates extended validation. -
mixedModePassive
public final int mixedModePassiveIndicates the presence of passive mixed content; possible values are CONTENT_UNKNOWN, CONTENT_BLOCKED, and CONTENT_LOADED. -
mixedModeActive
public final int mixedModeActiveIndicates the presence of active mixed content; possible values are CONTENT_UNKNOWN, CONTENT_BLOCKED, and CONTENT_LOADED.
-
-
Constructor Details
-
SecurityInformation
protected SecurityInformation()Empty constructor for tests
-