Package javax.net.ssl
Class X509ExtendedKeyManager
- java.lang.Object
-
- javax.net.ssl.X509ExtendedKeyManager
-
- All Implemented Interfaces:
KeyManager,X509KeyManager
- Direct Known Subclasses:
KeyManagerImpl
public abstract class X509ExtendedKeyManager extends Object implements X509KeyManager
The abstract extension for theX509KeyManagerinterface.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedX509ExtendedKeyManager()To be used by subclasses only.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringchooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine)Chooses an alias for the client side of an SSL connection to authenticate it with the specified public key type and certificate issuers.StringchooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)Chooses an alias for the server side of an SSL connection to authenticate it with the specified public key type and certificate issuers.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.net.ssl.X509KeyManager
chooseClientAlias, chooseServerAlias, getCertificateChain, getClientAliases, getPrivateKey, getServerAliases
-
-
-
-
Method Detail
-
chooseEngineClientAlias
public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine)
Chooses an alias for the client side of an SSL connection to authenticate it with the specified public key type and certificate issuers.- Parameters:
keyType- the list of public key algorithm names.issuers- the list of certificate issuers, ornullif any issuer will do.engine- theSSLEnginefor the connection, ornullif no engine is predefined.- Returns:
- the alias name of a matching key or
nullif there are no matches.
-
chooseEngineServerAlias
public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)
Chooses an alias for the server side of an SSL connection to authenticate it with the specified public key type and certificate issuers.- Parameters:
keyType- the list of public key algorithm names.issuers- the list of certificate issuers, ornullif any issuer will do.engine- theSSLEnginefor the connection, ornullif no engine is predefined.- Returns:
- the alias name of a matching key or
nullif there are no matches.
-
-