org.apache.commons.ssl
Class Java13KeyManagerWrapper
java.lang.Object
org.apache.commons.ssl.Java13KeyManagerWrapper
- All Implemented Interfaces:
- com.sun.net.ssl.KeyManager, com.sun.net.ssl.X509KeyManager
public class Java13KeyManagerWrapper
- extends Object
- implements com.sun.net.ssl.X509KeyManager
- Since:
- 30-Jun-2006
- Author:
- Credit Union Central of British Columbia, www.cucbc.com, juliusdavies@cucbc.com
Field Summary |
private com.sun.net.ssl.X509KeyManager |
keyManager
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keyManager
private final com.sun.net.ssl.X509KeyManager keyManager
Java13KeyManagerWrapper
public Java13KeyManagerWrapper(com.sun.net.ssl.X509KeyManager m,
KeyMaterial km,
SSL h)
chooseClientAlias
public String chooseClientAlias(String keyType,
Principal[] issuers)
- Specified by:
chooseClientAlias
in interface com.sun.net.ssl.X509KeyManager
chooseServerAlias
public String chooseServerAlias(String keyType,
Principal[] issuers)
- Specified by:
chooseServerAlias
in interface com.sun.net.ssl.X509KeyManager
getCertificateChain
public X509Certificate[] getCertificateChain(String alias)
- Specified by:
getCertificateChain
in interface com.sun.net.ssl.X509KeyManager
getClientAliases
public String[] getClientAliases(String keyType,
Principal[] issuers)
- Specified by:
getClientAliases
in interface com.sun.net.ssl.X509KeyManager
getPrivateKey
public PrivateKey getPrivateKey(String alias)
- Specified by:
getPrivateKey
in interface com.sun.net.ssl.X509KeyManager
getServerAliases
public String[] getServerAliases(String keyType,
Principal[] issuers)
- Specified by:
getServerAliases
in interface com.sun.net.ssl.X509KeyManager