Package com.esri.arcgisruntime.security
Interface SelfSignedCertificateListener
-
public interface SelfSignedCertificateListenerInterface for the listener to handle self-signed certificates.- Since:
- 100.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SelfSignedResponsecheckServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)The check is called by the X509 trust manager.
-
-
-
Method Detail
-
checkServerTrusted
SelfSignedResponse checkServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
The check is called by the X509 trust manager. The callee is expected to return aSelfSignedResponsethat 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
SelfSignedResponseindicating if the certificate should be trusted and if the response should be cached - Since:
- 100.0.0
-
-