Package org.apache.commons.net.ftp
Class FTPSTrustManager
- java.lang.Object
-
- org.apache.commons.net.ftp.FTPSTrustManager
-
- All Implemented Interfaces:
javax.net.ssl.TrustManager
,javax.net.ssl.X509TrustManager
@Deprecated public class FTPSTrustManager extends java.lang.Object implements javax.net.ssl.X509TrustManager
Deprecated.3.0 useTrustManagerUtils#getValidateServerCertificateTrustManager()
insteadDo not use.- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description FTPSTrustManager()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
checkClientTrusted(java.security.cert.X509Certificate[] certificates, java.lang.String authType)
Deprecated.No-opvoid
checkServerTrusted(java.security.cert.X509Certificate[] certificates, java.lang.String authType)
Deprecated.java.security.cert.X509Certificate[]
getAcceptedIssuers()
Deprecated.
-
-
-
Method Detail
-
checkClientTrusted
public void checkClientTrusted(java.security.cert.X509Certificate[] certificates, java.lang.String authType)
Deprecated.No-op- Specified by:
checkClientTrusted
in interfacejavax.net.ssl.X509TrustManager
-
checkServerTrusted
public void checkServerTrusted(java.security.cert.X509Certificate[] certificates, java.lang.String authType) throws java.security.cert.CertificateException
Deprecated.- Specified by:
checkServerTrusted
in interfacejavax.net.ssl.X509TrustManager
- Throws:
java.security.cert.CertificateException
-
getAcceptedIssuers
public java.security.cert.X509Certificate[] getAcceptedIssuers()
Deprecated.- Specified by:
getAcceptedIssuers
in interfacejavax.net.ssl.X509TrustManager
-
-