TrustManagerUtils#getValidateServerCertificateTrustManager() instead@Deprecated public class FTPSTrustManager extends Object implements X509TrustManager
| Constructor and Description |
|---|
FTPSTrustManager()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] certificates,
String authType)
Deprecated.
No-op
|
void |
checkServerTrusted(X509Certificate[] certificates,
String authType)
Deprecated.
|
X509Certificate[] |
getAcceptedIssuers()
Deprecated.
|
public FTPSTrustManager()
public void checkClientTrusted(X509Certificate[] certificates, String authType)
checkClientTrusted in interface X509TrustManagerpublic void checkServerTrusted(X509Certificate[] certificates, String authType) throws CertificateException
checkServerTrusted in interface X509TrustManagerCertificateExceptionpublic X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerCopyright © 2001–2017 The Apache Software Foundation. All rights reserved.