public abstract class X509ExtendedKeyManager extends Object implements X509KeyManager
该类中的方法应该被覆盖以提供实际的实现。
| Modifier | Constructor and Description |
|---|---|
protected |
X509ExtendedKeyManager()
仅由子类使用的构造方法。
|
| Modifier and Type | Method and Description |
|---|---|
String |
chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine)
选择一个别名来鉴别SSLEngine连接的客户端,
SSLEngine公钥类型和对等体识别的证书颁发机构列表(如果有)。
|
String |
chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)
选择别名,对一个服务器端验证
SSLEngine给出公钥类型和同位体(如果有的话)认可证书发行机构的列表连接。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchooseClientAlias, chooseServerAlias, getCertificateChain, getClientAliases, getPrivateKey, getServerAliasespublic String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine)
SSLEngine公钥类型和对等体识别的证书颁发机构列表(如果有)。
默认实现返回null。
keyType - 关键算法类型名称,首先以最优先的键类型排序。
issuers - 可接受的CA颁发者主题名称列表,如果不使用哪些发行者,则为null。
engine -在SSLEngine要使用此连接。
此参数可以为空,这表示该接口的实现可以自由选择适用于任何引擎的别名。
public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)
SSLEngine给出公钥类型和同位体(如果有的话)认可证书发行机构的列表连接。
默认实现返回null。
keyType - 关键算法类型名称。
issuers - 可接受的CA颁发者主题名称的列表,如果不使用哪些发行者,则为null。
engine -在SSLEngine要使用此连接。
此参数可以为空,这表示该接口的实现可以自由选择适用于任何引擎的别名。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.