org.apache.commons.net.ftp

Class FTPSTrustManager

Implemented Interfaces:
X509TrustManager

public class FTPSTrustManager
extends java.lang.Object
implements X509TrustManager

Custom TrustManager implementation.
Since:
2.0

Method Summary

void
checkClientTrusted(X509Certificate[] certificates, String authType)
No-op
void
checkServerTrusted(X509Certificate[] certificates, String authType)
X509Certificate[]
getAcceptedIssuers()

Method Details

checkClientTrusted

public void checkClientTrusted(X509Certificate[] certificates,
                               String authType)
No-op

checkServerTrusted

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

getAcceptedIssuers

public X509Certificate[] getAcceptedIssuers()