com.sun.net.ssl
Interface X509TrustManager
- public interface X509TrustManager
- extends TrustManager
Instance of this interface manage which X509 certificates
may be used to authenticate the remote side of a secure
socket. Decisions may be based on trusted certificate
authorities, certificate revocation lists, online
status checking or other means.
isClientTrusted
public boolean isClientTrusted(java.security.cert.X509Certificate[] chain)
isServerTrusted
public boolean isServerTrusted(java.security.cert.X509Certificate[] chain)
getAcceptedIssuers
public java.security.cert.X509Certificate[] getAcceptedIssuers()