javax.net.ssl
public abstract class X509ExtendedKeyManager extends Object implements X509KeyManager
X509KeyManager
for use with SSLEngine
.Modifier | Constructor and Description |
---|---|
protected |
X509ExtendedKeyManager()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
chooseEngineClientAlias(String[] keyTypes,
Principal[] issuers,
SSLEngine engine)
Return a client alias given a list of key types, a list of
allowable issuers, and the SSLEngine being used.
|
String |
chooseEngineServerAlias(String keyType,
Principal[] issuers,
SSLEngine engine)
Return a server alias given a key type, a list of allowable
issuers, and the SSLEngine being used.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
chooseClientAlias, chooseServerAlias, getCertificateChain, getClientAliases, getPrivateKey, getServerAliases
protected X509ExtendedKeyManager()
public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine engine)
This implementation always returns null
.
keyTypes
- The list of desired key types.issuers
- The list of desired key issuers.engine
- This client's SSLEngine.null
if the parameters were not matched.public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)
This implementation always returns null
.
keyType
- The desired key type.issuers
- The list of desired key issuers.engine
- The server's SSLEngine.null
if the parameters were not matched.