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