APIdia Launch Partner
Top Description Inners Fields Constructors Methods
sun.security.ssl

pack-priv final Class SupportedVersionsExtension

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.ByteBuffer, java.text.MessageFormat, java.util.Locale, javax.net.ssl.SSLProtocolException, sun.security.ssl.SSLExtension.ExtensionConsumer, .SSLExtension.SSLExtensionSpec, .SSLHandshake.HandshakeMessage

Pack of the "supported_versions" extensions.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
SupportedVersionsExtension.CHSupportedVersionsConsumer

Network data consumer of a "supported_versions" extension in ClientHello.

private static class
SupportedVersionsExtension.CHSupportedVersionsProducer

Network data producer of a "supported_versions" extension in ClientHello.

pack-priv static class
SupportedVersionsExtension.CHSupportedVersionsSpec

The "supported_versions" extension in ClientHello.

private static class
private static class
SupportedVersionsExtension.HRRSupportedVersionsConsumer

Network data consumer of a "supported_versions" extension in HelloRetryRequest.

private static class
SupportedVersionsExtension.HRRSupportedVersionsProducer

Network data producer of a "supported_versions" extension in HelloRetryRequest.

private static class
SupportedVersionsExtension.HRRSupportedVersionsReproducer

Network data producer of a "supported_versions" extension for stateless HelloRetryRequest reconstruction.

private static class
SupportedVersionsExtension.SHSupportedVersionsConsumer

Network data consumer of a "supported_versions" extension in ServerHello.

private static class
SupportedVersionsExtension.SHSupportedVersionsProducer

Network data producer of a "supported_versions" extension in ServerHello.

pack-priv static class
SupportedVersionsExtension.SHSupportedVersionsSpec

The "supported_versions" extension in ServerHello and HelloRetryRequest.

private static class

Field Summary

Modifier and TypeField and Description
pack-priv static final HandshakeProducer
pack-priv static final SSLExtension.ExtensionConsumer
pack-priv static final SSLStringizer
pack-priv static final HandshakeProducer
pack-priv static final SSLExtension.ExtensionConsumer
pack-priv static final HandshakeProducer
pack-priv static final SSLStringizer
pack-priv static final HandshakeProducer
pack-priv static final SSLExtension.ExtensionConsumer
pack-priv static final SSLStringizer

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

chNetworkProducerback to summary
pack-priv static final HandshakeProducer chNetworkProducer
chOnLoadConsumerback to summary
pack-priv static final SSLExtension.ExtensionConsumer chOnLoadConsumer
chStringizerback to summary
pack-priv static final SSLStringizer chStringizer
hrrNetworkProducerback to summary
pack-priv static final HandshakeProducer hrrNetworkProducer
hrrOnLoadConsumerback to summary
pack-priv static final SSLExtension.ExtensionConsumer hrrOnLoadConsumer
hrrReproducerback to summary
pack-priv static final HandshakeProducer hrrReproducer
hrrStringizerback to summary
pack-priv static final SSLStringizer hrrStringizer
shNetworkProducerback to summary
pack-priv static final HandshakeProducer shNetworkProducer
shOnLoadConsumerback to summary
pack-priv static final SSLExtension.ExtensionConsumer shOnLoadConsumer
shStringizerback to summary
pack-priv static final SSLStringizer shStringizer

Constructor Detail

SupportedVersionsExtensionback to summary
pack-priv SupportedVersionsExtension()
sun.security.ssl back to summary

private final Class SupportedVersionsExtension.CHSupportedVersionsConsumer

extends Object
implements ExtensionConsumer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SupportedVersionsExtension.CHSupportedVersionsConsumer
All Implemented Interfaces
sun.security.ssl.SSLExtension.ExtensionConsumer

Network data consumer of a "supported_versions" extension in ClientHello.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CHSupportedVersionsConsumerback to summary
private CHSupportedVersionsConsumer()

Method Detail

consumeback to summary
public void consume(ConnectionContext context, SSLHandshake.HandshakeMessage message, ByteBuffer buffer) throws IOException

Implements sun.security.ssl.SSLExtension.ExtensionConsumer.consume.

Annotations
@Override
sun.security.ssl back to summary

private final Class SupportedVersionsExtension.CHSupportedVersionsProducer

extends Object
implements HandshakeProducer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SupportedVersionsExtension.CHSupportedVersionsProducer
All Implemented Interfaces
sun.security.ssl.HandshakeProducer

Network data producer of a "supported_versions" extension in ClientHello.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CHSupportedVersionsProducerback to summary
private CHSupportedVersionsProducer()

Method Detail

produceback to summary
public byte[] produce(ConnectionContext context, SSLHandshake.HandshakeMessage message) throws IOException

Implements sun.security.ssl.HandshakeProducer.produce.

Annotations
@Override
sun.security.ssl back to summary

pack-priv final Class SupportedVersionsExtension.CHSupportedVersionsSpec

extends Object
implements SSLExtensionSpec
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SupportedVersionsExtension.CHSupportedVersionsSpec
All Implemented Interfaces
sun.security.ssl.SSLExtension.SSLExtensionSpec

The "supported_versions" extension in ClientHello.

Field Summary

Modifier and TypeField and Description
pack-priv final int[]

Constructor Summary

AccessConstructor and Description
private
CHSupportedVersionsSpec(int[] requestedProtocols)

private

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

requestedProtocolsback to summary
pack-priv final int[] requestedProtocols

Constructor Detail

CHSupportedVersionsSpecback to summary
private CHSupportedVersionsSpec(int[] requestedProtocols)
CHSupportedVersionsSpecback to summary
private CHSupportedVersionsSpec(HandshakeContext hc, ByteBuffer m) throws IOException

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
sun.security.ssl back to summary

private final Class SupportedVersionsExtension.CHSupportedVersionsStringizer

extends Object
implements SSLStringizer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SupportedVersionsExtension.CHSupportedVersionsStringizer
All Implemented Interfaces
sun.security.ssl.SSLStringizer

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
toString(HandshakeContext hc, ByteBuffer buffer)

Implements sun.security.ssl.SSLStringizer.toString.

Returns a legible string representation of a ByteBuffer.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CHSupportedVersionsStringizerback to summary
private CHSupportedVersionsStringizer()

Method Detail

toStringback to summary
public String toString(HandshakeContext hc, ByteBuffer buffer)

Implements sun.security.ssl.SSLStringizer.toString.

Doc from sun.security.ssl.SSLStringizer.toString.

Returns a legible string representation of a ByteBuffer. Note that the implementation MUST not change the internal status of the buffer.

Annotations
@Override
sun.security.ssl back to summary

private final Class SupportedVersionsExtension.HRRSupportedVersionsConsumer

extends Object
implements ExtensionConsumer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SupportedVersionsExtension.HRRSupportedVersionsConsumer
All Implemented Interfaces
sun.security.ssl.SSLExtension.ExtensionConsumer

Network data consumer of a "supported_versions" extension in HelloRetryRequest.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

HRRSupportedVersionsConsumerback to summary
private HRRSupportedVersionsConsumer()

Method Detail

consumeback to summary
public void consume(ConnectionContext context, SSLHandshake.HandshakeMessage message, ByteBuffer buffer) throws IOException

Implements sun.security.ssl.SSLExtension.ExtensionConsumer.consume.

Annotations
@Override
sun.security.ssl back to summary

private final Class SupportedVersionsExtension.HRRSupportedVersionsProducer

extends Object
implements HandshakeProducer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SupportedVersionsExtension.HRRSupportedVersionsProducer
All Implemented Interfaces
sun.security.ssl.HandshakeProducer

Network data producer of a "supported_versions" extension in HelloRetryRequest.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

HRRSupportedVersionsProducerback to summary
private HRRSupportedVersionsProducer()

Method Detail

produceback to summary
public byte[] produce(ConnectionContext context, SSLHandshake.HandshakeMessage message) throws IOException

Implements sun.security.ssl.HandshakeProducer.produce.

Annotations
@Override
sun.security.ssl back to summary

private final Class SupportedVersionsExtension.HRRSupportedVersionsReproducer

extends Object
implements HandshakeProducer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SupportedVersionsExtension.HRRSupportedVersionsReproducer
All Implemented Interfaces
sun.security.ssl.HandshakeProducer

Network data producer of a "supported_versions" extension for stateless HelloRetryRequest reconstruction.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

HRRSupportedVersionsReproducerback to summary
private HRRSupportedVersionsReproducer()

Method Detail

produceback to summary
public byte[] produce(ConnectionContext context, SSLHandshake.HandshakeMessage message) throws IOException

Implements sun.security.ssl.HandshakeProducer.produce.

Annotations
@Override
sun.security.ssl back to summary

private final Class SupportedVersionsExtension.SHSupportedVersionsConsumer

extends Object
implements ExtensionConsumer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SupportedVersionsExtension.SHSupportedVersionsConsumer
All Implemented Interfaces
sun.security.ssl.SSLExtension.ExtensionConsumer

Network data consumer of a "supported_versions" extension in ServerHello.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SHSupportedVersionsConsumerback to summary
private SHSupportedVersionsConsumer()

Method Detail

consumeback to summary
public void consume(ConnectionContext context, SSLHandshake.HandshakeMessage message, ByteBuffer buffer) throws IOException

Implements sun.security.ssl.SSLExtension.ExtensionConsumer.consume.

Annotations
@Override
sun.security.ssl back to summary

private final Class SupportedVersionsExtension.SHSupportedVersionsProducer

extends Object
implements HandshakeProducer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SupportedVersionsExtension.SHSupportedVersionsProducer
All Implemented Interfaces
sun.security.ssl.HandshakeProducer

Network data producer of a "supported_versions" extension in ServerHello.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SHSupportedVersionsProducerback to summary
private SHSupportedVersionsProducer()

Method Detail

produceback to summary
public byte[] produce(ConnectionContext context, SSLHandshake.HandshakeMessage message) throws IOException

Implements sun.security.ssl.HandshakeProducer.produce.

Annotations
@Override
sun.security.ssl back to summary

pack-priv final Class SupportedVersionsExtension.SHSupportedVersionsSpec

extends Object
implements SSLExtensionSpec
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SupportedVersionsExtension.SHSupportedVersionsSpec
All Implemented Interfaces
sun.security.ssl.SSLExtension.SSLExtensionSpec

The "supported_versions" extension in ServerHello and HelloRetryRequest.

Field Summary

Modifier and TypeField and Description
pack-priv final int

Constructor Summary

AccessConstructor and Description
private
private

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

selectedVersionback to summary
pack-priv final int selectedVersion

Constructor Detail

SHSupportedVersionsSpecback to summary
private SHSupportedVersionsSpec(ProtocolVersion selectedVersion)
SHSupportedVersionsSpecback to summary
private SHSupportedVersionsSpec(HandshakeContext hc, ByteBuffer m) throws IOException

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
sun.security.ssl back to summary

private final Class SupportedVersionsExtension.SHSupportedVersionsStringizer

extends Object
implements SSLStringizer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SupportedVersionsExtension.SHSupportedVersionsStringizer
All Implemented Interfaces
sun.security.ssl.SSLStringizer

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
toString(HandshakeContext hc, ByteBuffer buffer)

Implements sun.security.ssl.SSLStringizer.toString.

Returns a legible string representation of a ByteBuffer.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SHSupportedVersionsStringizerback to summary
private SHSupportedVersionsStringizer()

Method Detail

toStringback to summary
public String toString(HandshakeContext hc, ByteBuffer buffer)

Implements sun.security.ssl.SSLStringizer.toString.

Doc from sun.security.ssl.SSLStringizer.toString.

Returns a legible string representation of a ByteBuffer. Note that the implementation MUST not change the internal status of the buffer.

Annotations
@Override