public class X509KeyManagerWrapper extends X509ExtendedKeyManager
KeyManagerUtils
which provides the same functionality
while it has a stable API because it is part of the public API.Constructor and Description |
---|
X509KeyManagerWrapper(X509KeyManager keyManager) |
Modifier and Type | Method and Description |
---|---|
String |
chooseClientAlias(String[] keyType,
Principal[] issuers,
Socket socket) |
String |
chooseEngineClientAlias(String[] keyTypes,
Principal[] issuers,
SSLEngine sslEngine) |
String |
chooseEngineServerAlias(String keyType,
Principal[] issuers,
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 X509KeyManagerWrapper(X509KeyManager keyManager)
public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket)
public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine sslEngine)
chooseEngineClientAlias
in class X509ExtendedKeyManager
public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket)
public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine sslEngine)
chooseEngineServerAlias
in class X509ExtendedKeyManager
public PrivateKey getPrivateKey(String alias)
public X509Certificate[] getCertificateChain(String alias)
Copyright © 2021. All rights reserved.