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
Nested ClassesModifier and TypeClassDescriptionstatic @interface
Content blocking type definitions for blocked/loaded content status.static @interface
Security mode type definitions for site security status. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal X509Certificate
The server certificate in use, if any.static final int
Content was blocked.static final int
Content was loaded.static final int
Unknown content status.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
Identified security modestatic final int
Unknown security mode.static final int
Verified security modefinal int
Indicates the security level of the site; possible values are SECURITY_MODE_UNKNOWN, SECURITY_MODE_IDENTIFIED, and SECURITY_MODE_VERIFIED. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SECURITY_MODE_UNKNOWN
public static final int SECURITY_MODE_UNKNOWNUnknown security mode.- See Also:
-
SECURITY_MODE_IDENTIFIED
public static final int SECURITY_MODE_IDENTIFIEDIdentified security mode- See Also:
-
SECURITY_MODE_VERIFIED
public static final int SECURITY_MODE_VERIFIEDVerified security mode- See Also:
-
CONTENT_UNKNOWN
public static final int CONTENT_UNKNOWNUnknown content status.- See Also:
-
CONTENT_BLOCKED
public static final int CONTENT_BLOCKEDContent was blocked.- See Also:
-
CONTENT_LOADED
public static final int CONTENT_LOADEDContent was 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
-