gnu.inet.util

Class EmptyX509TrustManager

Implemented Interfaces:
X509TrustManager

public class EmptyX509TrustManager
extends java.lang.Object
implements X509TrustManager

Empty implementation of an X509 trust manager. This implementation does not check any certificates in the chain.

Method Summary

void
checkClientTrusted(X509Certificate[] chain, String authType)
void
checkServerTrusted(X509Certificate[] chain, String authType)
X509Certificate[]
getAcceptedIssuers()

Method Details

checkClientTrusted

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

checkServerTrusted

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

getAcceptedIssuers

public X509Certificate[] getAcceptedIssuers()