Module com.esri.arcgisruntime
Package com.esri.arcgisruntime.security
Interface SelfSignedCertificateListener
public interface SelfSignedCertificateListener
Interface for the listener to handle self-signed certificates.
- Since:
- 100.0.0
-
Method Summary
Modifier and TypeMethodDescriptioncheckServerTrusted
(X509Certificate[] chain, String authType) The check is called by the X509 trust manager.
-
Method Details
-
checkServerTrusted
The check is called by the X509 trust manager. The callee is expected to return aSelfSignedResponse
that indicates whether the certificate should be trusted and if that result should be cached for further usage. The cache of trusted servers can be cleared by callingAuthenticationManager.clearTrustedCertificates()
.- Parameters:
chain
- the certificates chain to checkauthType
- the type of the cerificates- Returns:
- a
SelfSignedResponse
indicating if the certificate should be trusted and if the response should be cached - Since:
- 100.0.0
-