Class GeckoSession.ProgressDelegate.SecurityInformation

Object
org.mozilla.geckoview.GeckoSession.ProgressDelegate.SecurityInformation
Enclosing interface:
GeckoSession.ProgressDelegate

public static class GeckoSession.ProgressDelegate.SecurityInformation extends Object
Class representing security information for a site.
  • 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 isSecure
      Indicates whether or not the site is secure.
    • isException

      public final boolean isException
      Indicates whether or not the site is a security exception.
    • origin

      @Nullable public final String origin
      Contains the origin of the certificate.
    • host

      @NonNull public final String host
      Contains the host associated with the certificate.
    • certificate

      @Nullable public final X509Certificate certificate
      The server certificate in use, if any.
    • securityMode

      public final int securityMode
      Indicates 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 mixedModePassive
      Indicates the presence of passive mixed content; possible values are CONTENT_UNKNOWN, CONTENT_BLOCKED, and CONTENT_LOADED.
    • mixedModeActive

      public final int mixedModeActive
      Indicates 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