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 @interfaceContent blocking type definitions for blocked/loaded content status.static @interfaceSecurity mode type definitions for site security status. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal X509CertificateThe server certificate in use, if any.static final intContent was blocked.static final intContent was loaded.static final intUnknown content status.final StringContains the host associated with the certificate.final booleanIndicates whether or not the site is a security exception.final booleanIndicates whether or not the site is secure.final intIndicates the presence of active mixed content; possible values are CONTENT_UNKNOWN, CONTENT_BLOCKED, and CONTENT_LOADED.final intIndicates the presence of passive mixed content; possible values are CONTENT_UNKNOWN, CONTENT_BLOCKED, and CONTENT_LOADED.final StringContains the origin of the certificate.static final intIdentified security modestatic final intUnknown security mode.static final intVerified security modefinal intIndicates 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
-