Package org.eclipse.jetty.util.ssl
Class AliasedX509ExtendedKeyManager
java.lang.Object
javax.net.ssl.X509ExtendedKeyManager
org.eclipse.jetty.util.ssl.AliasedX509ExtendedKeyManager
- All Implemented Interfaces:
KeyManager
,X509KeyManager
An X509ExtendedKeyManager
that select a key with desired alias,
delegating other processing to a nested X509ExtendedKeyManager.
Can be used both with server and client sockets.
-
Constructor Summary
ConstructorDescriptionAliasedX509ExtendedKeyManager
(X509ExtendedKeyManager keyManager, String keyAlias) -
Method Summary
Modifier and TypeMethodDescriptionchooseClientAlias
(String[] keyType, Principal[] issuers, Socket socket) chooseEngineClientAlias
(String[] keyType, Principal[] issuers, SSLEngine engine) chooseEngineServerAlias
(String keyType, Principal[] issuers, SSLEngine engine) chooseServerAlias
(String keyType, Principal[] issuers, Socket socket) getCertificateChain
(String alias) String[]
getClientAliases
(String keyType, Principal[] issuers) getPrivateKey
(String alias) String[]
getServerAliases
(String keyType, Principal[] issuers)
-
Constructor Details
-
AliasedX509ExtendedKeyManager
-
-
Method Details
-
getDelegate
-
chooseClientAlias
-
chooseServerAlias
-
getClientAliases
-
getServerAliases
-
getCertificateChain
-
getPrivateKey
-
chooseEngineServerAlias
- Overrides:
chooseEngineServerAlias
in classX509ExtendedKeyManager
-
chooseEngineClientAlias
- Overrides:
chooseEngineClientAlias
in classX509ExtendedKeyManager
-