java.lang.Object
com.esri.arcgisruntime.security.SelfSignedResponse
Represents the response from a user defined
SelfSignedCertificateListener
. Contains two boolean
properties
isTrusted
, 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
ConstructorDescriptionSelfSignedResponse
(boolean trusted, boolean enableCache) Constructs a SelfSignedResponse with the specified trusted and should cache values. -
Method Summary
Modifier and TypeMethodDescriptionboolean
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.
-
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 falseenableCache
- 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
-