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

pack-priv final Class CompressedCertificate

extends Object
Class Inheritance
Imports
java.io.IOException, java.nio.ByteBuffer, java.text.MessageFormat, java.util.Locale, java.util.function.Function, javax.net.ssl.SSLProtocolException, sun.security.ssl.SSLHandshake.HandshakeMessage, sun.security.util.Cache, .Cache.EqualByteArray, .HexDumpEncoder

Pack of the CompressedCertificate handshake message.

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static record
private static class
CompressedCertificate.CompressedCertConsumer

The "CompressedCertificate" handshake message consumer for TLS 1.3.

pack-priv static class
CompressedCertificate.CompressedCertMessage

The CompressedCertificate handshake message for TLS 1.3.

private static class
CompressedCertificate.CompressedCertProducer

The "CompressedCertificate" handshake message producer for TLS 1.3.

Field Summary

Modifier and TypeField and Description
pack-priv static final SSLConsumer
pack-priv static final HandshakeProducer

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

handshakeConsumerback to summary
pack-priv static final SSLConsumer handshakeConsumer
handshakeProducerback to summary
pack-priv static final HandshakeProducer handshakeProducer

Constructor Detail

CompressedCertificateback to summary
pack-priv CompressedCertificate()
sun.security.ssl back to summary

pack-priv final Record CompressedCertificate.CompCertCacheKey

extends Record
Class Inheritance
Record Components
eba:Cache.EqualByteArray 
algId:int 

Field Summary

Modifier and TypeField and Description
private final int
algId

Record Component accessed by algId().

private final Cache.EqualByteArray
eba

Record Component accessed by eba().

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public int
algId()

Record Component getter of algId.

public Cache.EqualByteArray
eba()

Record Component getter of eba.

public final boolean
equals(Object o)

Implements abstract java.lang.Record.equals.

Indicates whether some other object is "equal to" this one.

public final int
hashCode()

Implements abstract java.lang.Record.hashCode.

Returns a hash code value for the record.

public final String
toString()

Implements abstract java.lang.Record.toString.

Returns a string representation of the record.

Field Detail

algIdback to summary
private final int algId

Record Component accessed by algId().

ebaback to summary
private final Cache.EqualByteArray eba

Record Component accessed by eba().

Constructor Detail

CompCertCacheKeyback to summary
pack-priv CompCertCacheKey(Cache.EqualByteArray eba, int algId)

Method Detail

algIdback to summary
public int algId()

Record Component getter of algId.

ebaback to summary
public Cache.EqualByteArray eba()

Record Component getter of eba.

equalsback to summary
public final boolean equals(Object o)

Implements abstract java.lang.Record.equals.

Doc from java.lang.Record.equals.

Indicates whether some other object is "equal to" this one. In addition to the general contract of Object.equals, record classes must further obey the invariant that when a record instance is "copied" by passing the result of the record component accessor methods to the canonical constructor, as follows:

    R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
hashCodeback to summary
public final int hashCode()

Implements abstract java.lang.Record.hashCode.

Doc from java.lang.Record.hashCode.

Returns a hash code value for the record. Obeys the general contract of Object.hashCode. For records, hashing behavior is constrained by the refined contract of Record.equals, so that any two records created from the same components must have the same hash code.

toStringback to summary
public final String toString()

Implements abstract java.lang.Record.toString.

Doc from java.lang.Record.toString.

Returns a string representation of the record. In accordance with the general contract of Object#toString(), the toString method returns a string that "textually represents" this record. The result should be a concise but informative representation that is easy for a person to read.

In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves.

sun.security.ssl back to summary

private final Class CompressedCertificate.CompressedCertConsumer

extends Object
implements SSLConsumer
Class Inheritance
  • java.lang.Object
  • sun.security.ssl.CompressedCertificate.CompressedCertConsumer
All Implemented Interfaces
sun.security.ssl.SSLConsumer

The "CompressedCertificate" handshake message consumer for TLS 1.3.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

CompressedCertConsumerback to summary
private CompressedCertConsumer()

Method Detail

consumeback to summary
public void consume(ConnectionContext context, ByteBuffer message) throws IOException

Implements sun.security.ssl.SSLConsumer.consume.

Annotations
@Override
sun.security.ssl back to summary

pack-priv final Class CompressedCertificate.CompressedCertMessage

extends HandshakeMessage
Class Inheritance

The CompressedCertificate handshake message for TLS 1.3.

Field Summary

Modifier and TypeField and Description
private final int
private final byte[]
private final int
Inherited from sun.security.ssl.SSLHandshake.HandshakeMessage:
handshakeContext

Constructor Summary

AccessConstructor and Description
pack-priv
CompressedCertMessage(HandshakeContext context, int algorithmId, int uncompressedLength, byte[] compressedCert)

pack-priv

Method Summary

Modifier and TypeMethod and Description
public SSLHandshake
public int
public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from sun.security.ssl.SSLHandshake.HandshakeMessage:
write

Field Detail

algorithmIdback to summary
private final int algorithmId
compressedCertback to summary
private final byte[] compressedCert
uncompressedLengthback to summary
private final int uncompressedLength

Constructor Detail

CompressedCertMessageback to summary
pack-priv CompressedCertMessage(HandshakeContext context, int algorithmId, int uncompressedLength, byte[] compressedCert)
CompressedCertMessageback to summary
pack-priv CompressedCertMessage(HandshakeContext handshakeContext, ByteBuffer m) throws IOException

Method Detail

handshakeTypeback to summary
public SSLHandshake handshakeType()

Implements abstract sun.security.ssl.SSLHandshake.HandshakeMessage.handshakeType.

Annotations
@Override
messageLengthback to summary
public int messageLength()

Implements abstract sun.security.ssl.SSLHandshake.HandshakeMessage.messageLength.

Annotations
@Override
sendback to summary
public void send(HandshakeOutStream hos) throws IOException

Implements abstract sun.security.ssl.SSLHandshake.HandshakeMessage.send.

Annotations
@Override
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 CompressedCertificate.CompressedCertProducer

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

The "CompressedCertificate" handshake message producer for TLS 1.3.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Constructor Detail

CompressedCertProducerback to summary
private CompressedCertProducer()

Method Detail

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

Implements sun.security.ssl.HandshakeProducer.produce.

Annotations
@Override