public class FTPSTrustManager extends Object implements X509TrustManager
TrustManager
implementation.Constructor and Description |
---|
FTPSTrustManager() |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] certificates,
String authType)
No-op
|
void |
checkServerTrusted(X509Certificate[] certificates,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
public void checkClientTrusted(X509Certificate[] certificates, String authType)
checkClientTrusted
in interface X509TrustManager
public void checkServerTrusted(X509Certificate[] certificates, String authType) throws CertificateException
checkServerTrusted
in interface X509TrustManager
CertificateException
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface X509TrustManager