软件包 | 描述 |
---|---|
javax.net.ssl |
为安全套接字包提供类。
|
javax.rmi.ssl |
提供
RMIClientSocketFactory 和
RMIServerSocketFactory 实现在安全套接字层(SSL)和传输层安全(TLS)协议。
|
Modifier and Type | Method and Description |
---|---|
static SSLContext |
SSLContext.getDefault()
返回默认SSL上下文。
|
static SSLContext |
SSLContext.getInstance(String protocol)
返回一个
SSLContext 对象实现指定的安全套接字协议。
|
static SSLContext |
SSLContext.getInstance(String protocol, Provider provider)
返回一个
SSLContext 对象实现指定的安全套接字协议。
|
static SSLContext |
SSLContext.getInstance(String protocol, String provider)
返回一个实现指定安全套接字协议
SSLContext 对象。
|
Modifier and Type | Method and Description |
---|---|
static void |
SSLContext.setDefault(SSLContext context)
设置默认的SSL上下文。
|
Constructor and Description |
---|
SslRMIServerSocketFactory(SSLContext context, String[] enabledCipherSuites, String[] enabledProtocols, boolean needClientAuth)
创建具有指定
SSLContext 和SSL Socket配置一个新的
SslRMIServerSocketFactory 。
|
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.