public abstract class X509ExtendedKeyManager extends Object implements X509KeyManager
X509KeyManager interface.| Modifier | Constructor and Description |
|---|---|
protected |
X509ExtendedKeyManager()
To be used by subclasses only.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchooseClientAlias, chooseServerAlias, getCertificateChain, getClientAliases, getPrivateKey, getServerAliasesprotected X509ExtendedKeyManager()
Creates a new X509ExtendedKeyManager instance.
public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine)
keyType - the list of public key algorithm names.issuers - the list of certificate issuers, or null if any issuer
will do.engine - the SSLEngine for the connection, or null if
no engine is predefined.null if there are no
matches.public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)
keyType - the list of public key algorithm names.issuers - the list of certificate issuers, or null if any issuer
will do.engine - the SSLEngine for the connection, or null if
no engine is predefined.null if there are no
matches.