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

pack-priv final Class ECPointFormatsExtension

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, .NamedGroup.NamedGroupSpec

Pack of the "ec_point_formats" extensions [RFC 4492].

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
ECPointFormatsExtension.CHECPointFormatsConsumer

Network data consumer of an "ec_point_formats" extension in the ClientHello handshake message.

private static class
ECPointFormatsExtension.CHECPointFormatsProducer

Network data producer of an "ec_point_formats" extension in the ClientHello handshake message.

private static enum
pack-priv static class
ECPointFormatsExtension.ECPointFormatsSpec

The "ec_point_formats" extension.

private static class
private static class
ECPointFormatsExtension.SHECPointFormatsConsumer

Network data consumer of an "ec_point_formats" extension in the ServerHello handshake message.

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 SSLExtension.ExtensionConsumer

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
epfStringizerback to summary
pack-priv static final SSLStringizer epfStringizer
shOnLoadConsumerback to summary
pack-priv static final SSLExtension.ExtensionConsumer shOnLoadConsumer

Constructor Detail

ECPointFormatsExtensionback to summary
pack-priv ECPointFormatsExtension()
sun.security.ssl back to summary

private final Class ECPointFormatsExtension.CHECPointFormatsConsumer

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

Network data consumer of an "ec_point_formats" extension in the ClientHello handshake message.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

CHECPointFormatsConsumerback to summary
private CHECPointFormatsConsumer()

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 ECPointFormatsExtension.CHECPointFormatsProducer

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

Network data producer of an "ec_point_formats" extension in the ClientHello handshake message.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

CHECPointFormatsProducerback to summary
private CHECPointFormatsProducer()

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 Enum ECPointFormatsExtension.ECPointFormat

extends Enum<ECPointFormatsExtension.ECPointFormat>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final ECPointFormatsExtension.ECPointFormat
public static final ECPointFormatsExtension.ECPointFormat
pack-priv final byte
pack-priv final String
public static final ECPointFormatsExtension.ECPointFormat

Constructor Summary

AccessConstructor and Description
private
ECPointFormat(byte id, String name)

Method Summary

Modifier and TypeMethod and Description
pack-priv static String
nameOf(int id)

public static ECPointFormatsExtension.ECPointFormat
public static ECPointFormatsExtension.ECPointFormat[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ANSIX962_COMPRESSED_PRIMEback to summary
public static final ECPointFormatsExtension.ECPointFormat ANSIX962_COMPRESSED_PRIME
FMT_ANSIX962_COMPRESSED_CHAR2back to summary
public static final ECPointFormatsExtension.ECPointFormat FMT_ANSIX962_COMPRESSED_CHAR2
idback to summary
pack-priv final byte id
nameback to summary
pack-priv final String name

Hides java.lang.Enum.name.

UNCOMPRESSEDback to summary
public static final ECPointFormatsExtension.ECPointFormat UNCOMPRESSED

Constructor Detail

ECPointFormatback to summary
private ECPointFormat(byte id, String name)

Method Detail

nameOfback to summary
pack-priv static String nameOf(int id)
valueOfback to summary
public static ECPointFormatsExtension.ECPointFormat valueOf(String name)
valuesback to summary
public static ECPointFormatsExtension.ECPointFormat[] values()
sun.security.ssl back to summary

pack-priv Class ECPointFormatsExtension.ECPointFormatsSpec

extends Object
implements SSLExtensionSpec
Class Inheritance
All Implemented Interfaces
sun.security.ssl.SSLExtension.SSLExtensionSpec

The "ec_point_formats" extension.

Field Summary

Modifier and TypeField and Description
pack-priv static final ECPointFormatsExtension.ECPointFormatsSpec
pack-priv final byte[]

Constructor Summary

AccessConstructor and Description
pack-priv
ECPointFormatsSpec(byte[] formats)

private

Method Summary

Modifier and TypeMethod and Description
private boolean
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

DEFAULTback to summary
pack-priv static final ECPointFormatsExtension.ECPointFormatsSpec DEFAULT
formatsback to summary
pack-priv final byte[] formats

Constructor Detail

ECPointFormatsSpecback to summary
pack-priv ECPointFormatsSpec(byte[] formats)
ECPointFormatsSpecback to summary
private ECPointFormatsSpec(HandshakeContext hc, ByteBuffer m) throws IOException

Method Detail

hasUncompressedFormatback to summary
private boolean hasUncompressedFormat()
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 ECPointFormatsExtension.ECPointFormatsStringizer

extends Object
implements SSLStringizer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.ECPointFormatsExtension.ECPointFormatsStringizer
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

ECPointFormatsStringizerback to summary
private ECPointFormatsStringizer()

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 ECPointFormatsExtension.SHECPointFormatsConsumer

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

Network data consumer of an "ec_point_formats" extension in the ServerHello handshake message.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

SHECPointFormatsConsumerback to summary
private SHECPointFormatsConsumer()

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