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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] certificates, String authType) Deprecated.No-opvoidcheckServerTrusted(X509Certificate[] certificates, String authType) Deprecated.Deprecated.
-
Constructor Details
-
FTPSTrustManager
public FTPSTrustManager()Deprecated.
-
-
Method Details
-
checkClientTrusted
Deprecated.No-op- Specified by:
checkClientTrustedin interfaceX509TrustManager
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates, String authType) throws CertificateException Deprecated.- Specified by:
checkServerTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
getAcceptedIssuers
Deprecated.- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-
TrustManagerUtils#getValidateServerCertificateTrustManager()instead