public class StaticAliasKeyManager extends Object implements X509KeyManager
Constructor and Description |
---|
StaticAliasKeyManager(X509KeyManager defaultKeyManager,
String alias) |
Modifier and Type | Method and Description |
---|---|
String |
chooseClientAlias(String[] keyType,
Principal[] principals,
Socket socket) |
String |
chooseServerAlias(String keyType,
Principal[] principals,
Socket socket) |
X509Certificate[] |
getCertificateChain(String alias) |
String[] |
getClientAliases(String keyType,
Principal[] principals) |
PrivateKey |
getPrivateKey(String alias) |
String[] |
getServerAliases(String keyType,
Principal[] principals) |
public StaticAliasKeyManager(X509KeyManager defaultKeyManager, String alias)
public String[] getClientAliases(String keyType, Principal[] principals)
getClientAliases
in interface X509KeyManager
public String chooseClientAlias(String[] keyType, Principal[] principals, Socket socket)
chooseClientAlias
in interface X509KeyManager
public String[] getServerAliases(String keyType, Principal[] principals)
getServerAliases
in interface X509KeyManager
public String chooseServerAlias(String keyType, Principal[] principals, Socket socket)
chooseServerAlias
in interface X509KeyManager
public X509Certificate[] getCertificateChain(String alias)
getCertificateChain
in interface X509KeyManager
public PrivateKey getPrivateKey(String alias)
getPrivateKey
in interface X509KeyManager
Copyright © 2000–2022 EPAM Systems. All rights reserved.