Package org.apache.commons.net.ftp
Class FTPSTrustManager
java.lang.Object
org.apache.commons.net.ftp.FTPSTrustManager
- All Implemented Interfaces:
TrustManager
,X509TrustManager
Deprecated.
Do not use.
- Since:
- 2.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkClientTrusted
(X509Certificate[] certificates, String authType) Deprecated.No-opvoid
checkServerTrusted
(X509Certificate[] certificates, String authType) Deprecated.Deprecated.
-
Constructor Details
-
FTPSTrustManager
public FTPSTrustManager()Deprecated.
-
-
Method Details
-
checkClientTrusted
Deprecated.No-op- Specified by:
checkClientTrusted
in interfaceX509TrustManager
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates, String authType) throws CertificateException Deprecated.- Specified by:
checkServerTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
getAcceptedIssuers
Deprecated.- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-
TrustManagerUtils#getValidateServerCertificateTrustManager()
instead