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

pack-priv final Class SignatureAlgorithmsExtension

extends Object
Class Inheritance
Static Imports
sun.security.ssl.SignatureScheme.CERTIFICATE_SCOPE, .SignatureScheme.HANDSHAKE_SCOPE

Pack of the "signature_algorithms" extensions [RFC 5246].

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
SignatureAlgorithmsExtension.CHSignatureSchemesConsumer

Network data consumer of a "signature_algorithms" extension in the ClientHello handshake message.

private static class
SignatureAlgorithmsExtension.CHSignatureSchemesOnLoadAbsence

The absence processing if a "signature_algorithms" extension is not present in the ClientHello handshake message.

private static class
SignatureAlgorithmsExtension.CHSignatureSchemesOnTradeAbsence

The absence processing if a "signature_algorithms" extension is not present in the ClientHello handshake message.

private static class
SignatureAlgorithmsExtension.CHSignatureSchemesProducer

Network data producer of a "signature_algorithms" extension in the ClientHello handshake message.

private static class
SignatureAlgorithmsExtension.CHSignatureSchemesUpdate

After session creation consuming of a "signature_algorithms" extension in the ClientHello handshake message.

private static class
SignatureAlgorithmsExtension.CRSignatureSchemesAbsence

The absence processing if a "signature_algorithms" extension is not present in the CertificateRequest handshake message.

private static class
SignatureAlgorithmsExtension.CRSignatureSchemesConsumer

Network data consumer of a "signature_algorithms" extension in the CertificateRequest handshake message.

private static class
SignatureAlgorithmsExtension.CRSignatureSchemesProducer

Network data producer of a "signature_algorithms" extension in the CertificateRequest handshake message.

private static class
SignatureAlgorithmsExtension.CRSignatureSchemesUpdate

After session creation consuming of a "signature_algorithms" extension in the CertificateRequest handshake message.

pack-priv static class
SignatureAlgorithmsExtension.SignatureSchemesSpec

The "signature_algorithms" extension.

private static class

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static byte[]

Returns:

network load as byte array
produceNetworkLoad
(HandshakeContext
HandshakeContext
hc
,
SSLExtension
"signature_algorithms" extension
signatureAlgorithmsExt
,
SSLExtension
"signature_algorithms_cert" extension
signatureAlgorithmsCertExt
)

Produce network load and update context.

private static void
updateHandshakeContext(HandshakeContext hc, int[] signatureSchemes, SSLExtension signatureAlgorithmsCertExt)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

chNetworkProducerback to summary
pack-priv static final HandshakeProducer chNetworkProducer
chOnLoadAbsenceback to summary
pack-priv static final HandshakeAbsence chOnLoadAbsence
chOnLoadConsumerback to summary
pack-priv static final SSLExtension.ExtensionConsumer chOnLoadConsumer
chOnTradeAbsenceback to summary
pack-priv static final HandshakeAbsence chOnTradeAbsence
chOnTradeConsumerback to summary
pack-priv static final HandshakeConsumer chOnTradeConsumer
crNetworkProducerback to summary
pack-priv static final HandshakeProducer crNetworkProducer
crOnLoadAbsenceback to summary
pack-priv static final HandshakeAbsence crOnLoadAbsence
crOnLoadConsumerback to summary
pack-priv static final SSLExtension.ExtensionConsumer crOnLoadConsumer
crOnTradeConsumerback to summary
pack-priv static final HandshakeConsumer crOnTradeConsumer
ssStringizerback to summary
pack-priv static final SSLStringizer ssStringizer

Constructor Detail

SignatureAlgorithmsExtensionback to summary
pack-priv SignatureAlgorithmsExtension()

Method Detail

produceNetworkLoadback to summary
private static byte[] produceNetworkLoad(HandshakeContext hc, SSLExtension signatureAlgorithmsExt, SSLExtension signatureAlgorithmsCertExt) throws IOException

Produce network load and update context.

Parameters
hc:HandshakeContext

HandshakeContext

signatureAlgorithmsExt:SSLExtension

"signature_algorithms" extension

signatureAlgorithmsCertExt:SSLExtension

"signature_algorithms_cert" extension

Returns:byte[]

network load as byte array

updateHandshakeContextback to summary
private static void updateHandshakeContext(HandshakeContext hc, int[] signatureSchemes, SSLExtension signatureAlgorithmsCertExt) throws SSLException
sun.security.ssl back to summary

private final Class SignatureAlgorithmsExtension.CHSignatureSchemesConsumer

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

Network data consumer of a "signature_algorithms" 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

CHSignatureSchemesConsumerback to summary
private CHSignatureSchemesConsumer()

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 SignatureAlgorithmsExtension.CHSignatureSchemesOnLoadAbsence

extends Object
implements HandshakeAbsence
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SignatureAlgorithmsExtension.CHSignatureSchemesOnLoadAbsence
All Implemented Interfaces
sun.security.ssl.HandshakeAbsence

The absence processing if a "signature_algorithms" extension is not present 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

CHSignatureSchemesOnLoadAbsenceback to summary
private CHSignatureSchemesOnLoadAbsence()

Method Detail

absentback to summary
public void absent(ConnectionContext context, SSLHandshake.HandshakeMessage message) throws IOException

Implements sun.security.ssl.HandshakeAbsence.absent.

Annotations
@Override
sun.security.ssl back to summary

private final Class SignatureAlgorithmsExtension.CHSignatureSchemesOnTradeAbsence

extends Object
implements HandshakeAbsence
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SignatureAlgorithmsExtension.CHSignatureSchemesOnTradeAbsence
All Implemented Interfaces
sun.security.ssl.HandshakeAbsence

The absence processing if a "signature_algorithms" extension is not present 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

CHSignatureSchemesOnTradeAbsenceback to summary
private CHSignatureSchemesOnTradeAbsence()

Method Detail

absentback to summary
public void absent(ConnectionContext context, SSLHandshake.HandshakeMessage message) throws IOException

Implements sun.security.ssl.HandshakeAbsence.absent.

Annotations
@Override
sun.security.ssl back to summary

private final Class SignatureAlgorithmsExtension.CHSignatureSchemesProducer

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

Network data producer of a "signature_algorithms" 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

CHSignatureSchemesProducerback to summary
private CHSignatureSchemesProducer()

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 SignatureAlgorithmsExtension.CHSignatureSchemesUpdate

extends Object
implements HandshakeConsumer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SignatureAlgorithmsExtension.CHSignatureSchemesUpdate
All Implemented Interfaces
sun.security.ssl.HandshakeConsumer

After session creation consuming of a "signature_algorithms" 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

CHSignatureSchemesUpdateback to summary
private CHSignatureSchemesUpdate()

Method Detail

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

Implements sun.security.ssl.HandshakeConsumer.consume.

Annotations
@Override
sun.security.ssl back to summary

private final Class SignatureAlgorithmsExtension.CRSignatureSchemesAbsence

extends Object
implements HandshakeAbsence
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SignatureAlgorithmsExtension.CRSignatureSchemesAbsence
All Implemented Interfaces
sun.security.ssl.HandshakeAbsence

The absence processing if a "signature_algorithms" extension is not present in the CertificateRequest 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

CRSignatureSchemesAbsenceback to summary
private CRSignatureSchemesAbsence()

Method Detail

absentback to summary
public void absent(ConnectionContext context, SSLHandshake.HandshakeMessage message) throws IOException

Implements sun.security.ssl.HandshakeAbsence.absent.

Annotations
@Override
sun.security.ssl back to summary

private final Class SignatureAlgorithmsExtension.CRSignatureSchemesConsumer

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

Network data consumer of a "signature_algorithms" extension in the CertificateRequest 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

CRSignatureSchemesConsumerback to summary
private CRSignatureSchemesConsumer()

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 SignatureAlgorithmsExtension.CRSignatureSchemesProducer

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

Network data producer of a "signature_algorithms" extension in the CertificateRequest 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

CRSignatureSchemesProducerback to summary
private CRSignatureSchemesProducer()

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 SignatureAlgorithmsExtension.CRSignatureSchemesUpdate

extends Object
implements HandshakeConsumer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.SignatureAlgorithmsExtension.CRSignatureSchemesUpdate
All Implemented Interfaces
sun.security.ssl.HandshakeConsumer

After session creation consuming of a "signature_algorithms" extension in the CertificateRequest 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

CRSignatureSchemesUpdateback to summary
private CRSignatureSchemesUpdate()

Method Detail

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

Implements sun.security.ssl.HandshakeConsumer.consume.

Annotations
@Override
sun.security.ssl back to summary

pack-priv final Class SignatureAlgorithmsExtension.SignatureSchemesSpec

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

The "signature_algorithms" extension.

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

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

signatureSchemesback to summary
pack-priv final int[] signatureSchemes

Constructor Detail

SignatureSchemesSpecback to summary
pack-priv SignatureSchemesSpec(List<SignatureScheme> schemes)
SignatureSchemesSpecback to summary
pack-priv SignatureSchemesSpec(HandshakeContext hc, ByteBuffer buffer) 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 SignatureAlgorithmsExtension.SignatureSchemesStringizer

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

SignatureSchemesStringizerback to summary
private SignatureSchemesStringizer()

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