Class SelfSignedResponse

java.lang.Object
com.esri.arcgisruntime.security.SelfSignedResponse

public final class SelfSignedResponse extends Object
Represents the response from a user defined SelfSignedCertificateListener. Contains two boolean properties
  • isTrusted, indicating whether or not the self signed certificate should be trusted
  • isCacheEnabled, indicating whether this response should be cached for further use, or if the user should continue to be prompted for this service.
Since:
100.0.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    SelfSignedResponse(boolean trusted, boolean enableCache)
    Constructs a SelfSignedResponse with the specified trusted and should cache values.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns a boolean indicating whether this response should be cached for further use, or if the user should continue to be prompted for this service.
    boolean
    Returns whether or not the self signed certificate should be trusted.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SelfSignedResponse

      public SelfSignedResponse(boolean trusted, boolean enableCache)
      Constructs a SelfSignedResponse with the specified trusted and should cache values.
      Parameters:
      trusted - true if the certificate should be trusted, otherwise false
      enableCache - true if the response should be cached, otherwise false
      Since:
      100.0.0
  • Method Details

    • isTrusted

      public boolean isTrusted()
      Returns whether or not the self signed certificate should be trusted.
      Returns:
      true if the certificate should be trusted, otherwise false
      Since:
      100.0.0
    • isCacheEnabled

      public boolean isCacheEnabled()
      Returns a boolean indicating whether this response should be cached for further use, or if the user should continue to be prompted for this service.
      Returns:
      true if the response will be cached, otherwise false
      Since:
      100.0.0