Package com.esri.arcgisruntime.security
Class SelfSignedResponse
- java.lang.Object
-
- com.esri.arcgisruntime.security.SelfSignedResponse
-
public final class SelfSignedResponse extends java.lang.Object
Represents the response from a user definedSelfSignedCertificateListener
. Contains two boolean propertiesisTrusted
, indicating whether or not the self signed certificate should be trustedisCacheEnabled
, 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.boolean
isTrusted()
Returns whether or not the self signed certificate should be trusted.
-
-
-
Constructor Detail
-
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 falseenableCache
- true if the response should be cached, otherwise false- Since:
- 100.0.0
-
-
Method Detail
-
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
-
-