public class NioX509KeyManager extends X509ExtendedKeyManager
Constructor and Description |
---|
NioX509KeyManager(X509KeyManager mgr,
String serverKeyAlias)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
chooseClientAlias(String[] keyType,
Principal[] issuers,
Socket socket) |
String |
chooseEngineServerAlias(String keyType,
Principal[] issuers,
SSLEngine engine) |
String |
chooseServerAlias(String keyType,
Principal[] issuers,
Socket socket) |
X509Certificate[] |
getCertificateChain(String alias) |
String[] |
getClientAliases(String keyType,
Principal[] issuers) |
PrivateKey |
getPrivateKey(String alias) |
String[] |
getServerAliases(String keyType,
Principal[] issuers) |
chooseEngineClientAlias
public NioX509KeyManager(X509KeyManager mgr, String serverKeyAlias)
mgr
- The X509KeyManager used as a delegateserverKeyAlias
- The alias name of the server's keypair and
supporting certificate chainpublic String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket)
public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket)
public X509Certificate[] getCertificateChain(String alias)
public PrivateKey getPrivateKey(String alias)
public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)
chooseEngineServerAlias
in class X509ExtendedKeyManager
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.