Package | Description |
---|---|
javax.net.ssl |
Provides classes for the secure socket package.
|
Modifier and Type | Class and Description |
---|---|
class |
SNIHostName
Instances of this class represent a server name of type
host_name in a Server Name
Indication (SNI) extension. |
Modifier and Type | Method and Description |
---|---|
List<SNIServerName> |
ExtendedSSLSession.getRequestedServerNames()
Obtains a
List containing all SNIServerName s
of the requested Server Name Indication (SNI) extension. |
List<SNIServerName> |
SSLParameters.getServerNames()
Returns a
List containing all SNIServerName s of the
Server Name Indication (SNI) parameter, or null if none has been set. |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
SNIMatcher.matches(SNIServerName serverName)
Attempts to match the given
SNIServerName . |
Modifier and Type | Method and Description |
---|---|
void |
SSLParameters.setServerNames(List<SNIServerName> serverNames)
Sets the desired
SNIServerName s of the Server Name
Indication (SNI) parameter. |
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.