Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.net.ssl
Interface X509TrustManager  view X509TrustManager download X509TrustManager.java

All Superinterfaces:
TrustManager

public interface X509TrustManager
extends TrustManager

A trust manager for dealing with X.509 certificates.


Method Summary
 void checkClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
          Checks if a certificate chain sent by the client is trusted.
 void checkServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
          Checks if a certificate chain sent by the server is trusted.
 java.security.cert.X509Certificate[] getAcceptedIssuers()
          Returns the list of trusted issuer certificates currently in use.
 

Method Detail

checkClientTrusted

public void checkClientTrusted(java.security.cert.X509Certificate[] chain,
                               java.lang.String authType)
                        throws java.security.cert.CertificateException
Checks if a certificate chain sent by the client is trusted.


checkServerTrusted

public void checkServerTrusted(java.security.cert.X509Certificate[] chain,
                               java.lang.String authType)
                        throws java.security.cert.CertificateException
Checks if a certificate chain sent by the server is trusted.


getAcceptedIssuers

public java.security.cert.X509Certificate[] getAcceptedIssuers()
Returns the list of trusted issuer certificates currently in use.