public interface

OnSelfSignedCertificateListener

com.esri.core.io.OnSelfSignedCertificateListener

Class Overview

Implements the listener to handle self-signed certificates.

Summary

Public Methods
abstract boolean checkServerTrusted(X509Certificate[] chain, String authType)
The check is called by the X509 trust manager.

Public Methods

public abstract boolean checkServerTrusted (X509Certificate[] chain, String authType)

The check is called by the X509 trust manager. Returns true if the certificates can be trusted.

Parameters
chain X509Certificate: the certificates chain to check.
authType String: the type of the cerificates
Returns
boolean returns true if the certificates can be trusted.