com.myjavaworld.jftp.ssl
Class JFTPKeyManager
java.lang.Object
com.myjavaworld.jftp.ssl.JFTPKeyManager
- All Implemented Interfaces:
- KeyManager, X509KeyManager
public class JFTPKeyManager
- extends Object
- implements X509KeyManager
- Author:
- Sai Pullabhotla, psai [at] jMethods [dot] com
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JFTPKeyManager
public JFTPKeyManager()
throws KeyStoreException,
NoSuchAlgorithmException,
UnrecoverableKeyException
- Throws:
KeyStoreException
NoSuchAlgorithmException
UnrecoverableKeyException
getPrivateKey
public PrivateKey getPrivateKey(String alias)
- Specified by:
getPrivateKey
in interface X509KeyManager
getCertificateChain
public X509Certificate[] getCertificateChain(String alias)
- Specified by:
getCertificateChain
in interface X509KeyManager
getClientAliases
public String[] getClientAliases(String keyType,
Principal[] issuers)
- Specified by:
getClientAliases
in interface X509KeyManager
getServerAliases
public String[] getServerAliases(String keyType,
Principal[] issuers)
- Specified by:
getServerAliases
in interface X509KeyManager
chooseServerAlias
public String chooseServerAlias(String keyType,
Principal[] issuers,
Socket socket)
- Specified by:
chooseServerAlias
in interface X509KeyManager
chooseClientAlias
public String chooseClientAlias(String[] keyType,
Principal[] issuers,
Socket socket)
- Specified by:
chooseClientAlias
in interface X509KeyManager
Copyright © 2000-2012 jMethods, Inc.. All Rights Reserved.