public class SecurityKeyManager extends X509ExtendedKeyManager
Constructor and Description |
---|
SecurityKeyManager(X509KeyManager keyManager,
String serverAlias,
String clientAlias) |
Modifier and Type | Method and Description |
---|---|
String |
chooseClientAlias(String[] keyType,
Principal[] issuers,
Socket socket) |
String |
chooseEngineClientAlias(String[] strings,
Principal[] principals,
SSLEngine sslEngine) |
String |
chooseEngineServerAlias(String s,
Principal[] principals,
SSLEngine sslEngine) |
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) |
public SecurityKeyManager(X509KeyManager keyManager, String serverAlias, String clientAlias)
public 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)
X509KeyManager.getPrivateKey(String)
public String chooseEngineClientAlias(String[] strings, Principal[] principals, SSLEngine sslEngine)
chooseEngineClientAlias
in class X509ExtendedKeyManager
public String chooseEngineServerAlias(String s, Principal[] principals, SSLEngine sslEngine)
chooseEngineServerAlias
in class X509ExtendedKeyManager
Copyright © 2019 JBoss by Red Hat. All rights reserved.