org.apache.commons.net.ftp
Class FTPSTrustManager
java.lang.Object
   org.apache.commons.net.ftp.FTPSTrustManager
org.apache.commons.net.ftp.FTPSTrustManager
- All Implemented Interfaces: 
- TrustManager, X509TrustManager
- public class FTPSTrustManager 
- extends Object- implements X509TrustManager
Custom TrustManager implementation.
- Since:
- 2.0
- Version:
- $Id: FTPSTrustManager.java 658520 2008-05-21 01:14:11Z sebb $
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
FTPSTrustManager
public FTPSTrustManager()
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certificates,
                               String authType)
- No-op
 
- 
- Specified by:
- checkClientTrustedin interface- X509TrustManager
 
- 
 
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates,
                               String authType)
                        throws CertificateException
- 
- Specified by:
- checkServerTrustedin interface- X509TrustManager
 
- 
- Throws:
- CertificateException
 
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- 
- Specified by:
- getAcceptedIssuersin interface- X509TrustManager
 
- 
 
Copyright © 1997-2008 The Apache Software Foundation. All Rights Reserved.