软件包 | 描述 |
---|---|
javax.net.ssl |
为安全套接字包提供类。
|
Modifier and Type | Interface and Description |
---|---|
interface |
X509TrustManager
例如该接口管理X509证书可用于验证安全套接字的远程端。
|
Modifier and Type | Class and Description |
---|---|
class |
X509ExtendedTrustManager
扩展的
X509TrustManager 接口支持SSL / TLS连接敏感的信任管理。
|
Modifier and Type | Method and Description |
---|---|
protected abstract TrustManager[] |
TrustManagerFactorySpi.engineGetTrustManagers()
返回每种类型的信任材料的一个信任管理器。
|
TrustManager[] |
TrustManagerFactory.getTrustManagers()
返回每种类型的信任材料的一个信任管理器。
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
SSLContextSpi.engineInit(KeyManager[] km, TrustManager[] tm, SecureRandom sr)
初始化上下文。
|
void |
SSLContext.init(KeyManager[] km, TrustManager[] tm, SecureRandom random)
初始化上下文。
|
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.