Top Description Fields Constructors Methods
org.conscrypt

pack-priv Class Java8ExtendedSSLSession

extends Java7ExtendedSSLSession
Class Inheritance
Imports
java.util.Collections, .List, javax.net.ssl.ExtendedSSLSession, .SNIHostName, .SNIServerName

This is an adapter that wraps the active session with ExtendedSSLSession, if running on Java 8+.

Field Summary

Inherited from org.conscrypt.Java7ExtendedSSLSession:
delegate

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final List<SNIServerName>
getRequestedServerNames()

Overrides javax.net.ssl.ExtendedSSLSession.getRequestedServerNames.

Obtains a List containing all SNIServerNames of the requested Server Name Indication (SNI) extension.
Inherited from org.conscrypt.Java7ExtendedSSLSession:
getApplicationBufferSizegetApplicationProtocolgetCipherSuitegetCreationTimegetIdgetLastAccessedTimegetLocalCertificatesgetLocalPrincipalgetLocalSupportedSignatureAlgorithmsgetPacketBufferSizegetPeerCertificateChaingetPeerCertificatesgetPeerHostgetPeerPortgetPeerPrincipalgetPeerSignedCertificateTimestampgetPeerSupportedSignatureAlgorithmsgetProtocolgetRequestedServerNamegetSessionContextgetStatusResponsesgetValuegetValueNamesinvalidateisValidputValueremoveValue

Constructor Detail

Java8ExtendedSSLSessionback to summary
public Java8ExtendedSSLSession(ExternalSession delegate)

Method Detail

getRequestedServerNamesback to summary
public final List<SNIServerName> getRequestedServerNames()

Overrides javax.net.ssl.ExtendedSSLSession.getRequestedServerNames.

Doc from javax.net.ssl.ExtendedSSLSession.getRequestedServerNames.

Obtains a List containing all SNIServerNames of the requested Server Name Indication (SNI) extension.

In server mode, unless the return List is empty, the server should use the requested server names to guide its selection of an appropriate authentication certificate, and/or other aspects of security policy.

In client mode, unless the return List is empty, the client should use the requested server names to guide its endpoint identification of the peer's identity, and/or other aspects of security policy.

Returns:List<SNIServerName>

a non-null immutable list of SNIServerNames of the requested server name indications. The returned list may be empty if no server name indications were requested.

Annotations
@Override