Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
javax.net.ssl

Interface X509TrustManager

java.lang.Object
|
+--javax.net.ssl.TrustManager
   |
   +--javax.net.ssl.X509TrustManager

All Implemented Interfaces:

TrustManager


public interface X509TrustManager

implements TrustManager

A trust manager for dealing with X.509 certificates.

Method Summary

voidcheckClientTrusted(X509Certificate[] chain, String authType)

Checks if a certificate chain sent by the client is trusted.
voidcheckServerTrusted(X509Certificate[] chain, String authType)

Checks if a certificate chain sent by the server is trusted.
X509Certificate[]getAcceptedIssuers()

Returns the list of trusted issuer certificates currently in use.

Method Details

checkClientTrusted

public void checkClientTrusted(X509Certificate[] chain, String authType)

Checks if a certificate chain sent by the client is trusted.

Parameters:

Throws:


checkServerTrusted

public void checkServerTrusted(X509Certificate[] chain, String authType)

Checks if a certificate chain sent by the server is trusted.

Parameters:

Throws:


getAcceptedIssuers

public X509Certificate[] getAcceptedIssuers()

Returns the list of trusted issuer certificates currently in use.

Returns: