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
@Deprecated(since="2021-05-27") public class AliasedX509ExtendedKeyManager extends X509ExtendedKeyManager
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.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
Constructors Constructor Description AliasedX509ExtendedKeyManager(X509ExtendedKeyManager keyManager, String keyAlias)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket)
Deprecated.String
chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine)
Deprecated.String
chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)
Deprecated.String
chooseServerAlias(String keyType, Principal[] issuers, Socket socket)
Deprecated.X509Certificate[]
getCertificateChain(String alias)
Deprecated.String[]
getClientAliases(String keyType, Principal[] issuers)
Deprecated.X509ExtendedKeyManager
getDelegate()
Deprecated.PrivateKey
getPrivateKey(String alias)
Deprecated.String[]
getServerAliases(String keyType, Principal[] issuers)
Deprecated.
-
-
-
Constructor Detail
-
AliasedX509ExtendedKeyManager
public AliasedX509ExtendedKeyManager(X509ExtendedKeyManager keyManager, String keyAlias)
Deprecated.
-
-
Method Detail
-
getDelegate
public X509ExtendedKeyManager getDelegate()
Deprecated.
-
chooseClientAlias
public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket)
Deprecated.
-
chooseServerAlias
public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket)
Deprecated.
-
getCertificateChain
public X509Certificate[] getCertificateChain(String alias)
Deprecated.
-
getPrivateKey
public PrivateKey getPrivateKey(String alias)
Deprecated.
-
chooseEngineServerAlias
public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)
Deprecated.- Overrides:
chooseEngineServerAlias
in classX509ExtendedKeyManager
-
chooseEngineClientAlias
public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine)
Deprecated.- Overrides:
chooseEngineClientAlias
in classX509ExtendedKeyManager
-
-