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.


Method Summary
 java.security.cert.X509Certificate[] getAcceptedIssuers()
           
 boolean isClientTrusted(java.security.cert.X509Certificate[] chain)
           
 boolean isServerTrusted(java.security.cert.X509Certificate[] chain)
           
 

Method Detail

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()