| 软件包 | 描述 |
|---|---|
| javax.net.ssl |
为安全套接字包提供类。
|
| Modifier and Type | Class and Description |
|---|---|
class |
SNIHostName
这个类的实例代表一个服务器名称指示型
host_name服务器名称(SNI)扩展。
|
| Modifier and Type | Method and Description |
|---|---|
List<SNIServerName> |
ExtendedSSLSession.getRequestedServerNames()
获得
List包含所有
SNIServerNames所请求的服务器名称指示(SNI)扩展。
|
List<SNIServerName> |
SSLParameters.getServerNames()
返回一个包含所有
SNIServerNames
List的服务器名称指示(SNI)的参数,如果没有设置或空。
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
SNIMatcher.matches(SNIServerName serverName)
试图匹配给定的
SNIServerName。
|
| Modifier and Type | Method and Description |
|---|---|
void |
SSLParameters.setServerNames(List<SNIServerName> serverNames)
设置服务器名称指示所需的
SNIServerNames(SNI)参数。
|
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.