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

pack-priv final Class QuicEngineOutputRecord

extends OutputRecord
implements SSLRecord
Class Inheritance
All Implemented Interfaces
sun.security.ssl.SSLRecord, sun.security.ssl.Record
Imports
jdk.internal.net.quic.QuicTLSEngine, sun.security.ssl.SSLCipher.SSLWriteCipher, java.io.IOException, java.nio.ByteBuffer, java.util.LinkedList

OutputRecord implementation for QuicTLSEngineImpl.

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
private static class

Field Summary

Modifier and TypeField and Description
private Alert
private final QuicEngineOutputRecord.HandshakeFragment
private volatile boolean
Inherited from sun.security.ssl.OutputRecord:
firstMessagehandshakeHashhelloVersionisClosedisFirstAppOutputRecordpacketSizeprotocolVersionrecordLocktcwriteCipher

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv void
public void
close()

Overrides sun.security.ssl.OutputRecord.close.

Implements java.io.Closeable.close.

Closes this stream and releases any system resources associated with it.

pack-priv void
encodeAlert(byte level, byte description)

Implements abstract sun.security.ssl.OutputRecord.encodeAlert.

pack-priv void
pack-priv void
encodeHandshake(byte[] source, int offset, int length)

Implements abstract sun.security.ssl.OutputRecord.encodeHandshake.

pack-priv Alert
pack-priv byte[]
pack-priv QuicTLSEngine.KeySpace
pack-priv boolean
pack-priv boolean
Inherited from sun.security.ssl.OutputRecord:
calculateFragmentSizechangeFragmentSizechangePacketSizedeliverdisposeWriteCipherencodeencodeV2ClientHelloencodeV2NoCipherencryptencryptfinishHandshakegetMaxPacketSizeinitHandshakerlaunchRetransmissionseqNumIsHugesetDeliverStreamsetHelloVersionsetVersion

Field Detail

alertback to summary
private Alert alert
fragmenterback to summary
private final QuicEngineOutputRecord.HandshakeFragment fragmenter
isCloseWaitingback to summary
private volatile boolean isCloseWaiting

Constructor Detail

QuicEngineOutputRecordback to summary
pack-priv QuicEngineOutputRecord(HandshakeHash handshakeHash)

Method Detail

changeWriteCiphersback to summary
pack-priv void changeWriteCiphers(SSLCipher.SSLWriteCipher writeCipher, boolean useChangeCipherSpec) throws IOException

Overrides sun.security.ssl.OutputRecord.changeWriteCiphers.

Annotations
@Override
changeWriteCiphersback to summary
pack-priv void changeWriteCiphers(SSLCipher.SSLWriteCipher writeCipher, byte keyUpdateRequest) throws IOException

Overrides sun.security.ssl.OutputRecord.changeWriteCiphers.

Annotations
@Override
closeback to summary
public void close() throws IOException

Overrides sun.security.ssl.OutputRecord.close.

Implements java.io.Closeable.close.

Doc from java.io.Closeable.close.

Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect.

As noted in AutoCloseable#close(), cases where the close may fail require careful attention. It is strongly advised to relinquish the underlying resources and to internally mark the Closeable as closed, prior to throwing the IOException.

Annotations
@Override
Exceptions
IOException:
if an I/O error occurs
encodeAlertback to summary
pack-priv void encodeAlert(byte level, byte description) throws IOException

Implements abstract sun.security.ssl.OutputRecord.encodeAlert.

Annotations
@Override
encodeChangeCipherSpecback to summary
pack-priv void encodeChangeCipherSpec() throws IOException

Implements abstract sun.security.ssl.OutputRecord.encodeChangeCipherSpec.

Annotations
@Override
encodeHandshakeback to summary
pack-priv void encodeHandshake(byte[] source, int offset, int length) throws IOException

Implements abstract sun.security.ssl.OutputRecord.encodeHandshake.

Annotations
@Override
getAlertback to summary
pack-priv Alert getAlert()
getHandshakeMessageback to summary
pack-priv byte[] getHandshakeMessage()

Overrides sun.security.ssl.OutputRecord.getHandshakeMessage.

Annotations
@Override
getHandshakeMessageKeySpaceback to summary
pack-priv QuicTLSEngine.KeySpace getHandshakeMessageKeySpace()

Overrides sun.security.ssl.OutputRecord.getHandshakeMessageKeySpace.

Annotations
@Override
isClosedback to summary
pack-priv boolean isClosed()

Overrides sun.security.ssl.OutputRecord.isClosed.

isEmptyback to summary
pack-priv boolean isEmpty()

Overrides sun.security.ssl.OutputRecord.isEmpty.

Annotations
@Override
sun.security.ssl back to summary

pack-priv final Class QuicEngineOutputRecord.HandshakeFragment

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private int
private final LinkedList<QuicEngineOutputRecord.HandshakeMemo>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv byte[]
pack-priv void
pack-priv boolean
pack-priv void
queueUpFragment(byte[] source, int offset, int length)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

currentPacketSpaceback to summary
private int currentPacketSpace
handshakeMemosback to summary
private final LinkedList<QuicEngineOutputRecord.HandshakeMemo> handshakeMemos

Constructor Detail

HandshakeFragmentback to summary
pack-priv HandshakeFragment()

Method Detail

acquireCiphertextback to summary
pack-priv byte[] acquireCiphertext()
changePacketSpaceback to summary
pack-priv void changePacketSpace()
isEmptyback to summary
pack-priv boolean isEmpty()
queueUpFragmentback to summary
pack-priv void queueUpFragment(byte[] source, int offset, int length) throws IOException
sun.security.ssl back to summary

private Class QuicEngineOutputRecord.HandshakeMemo

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv boolean
pack-priv byte[]

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

changeSpaceback to summary
pack-priv boolean changeSpace
fragmentback to summary
pack-priv byte[] fragment

Constructor Detail

HandshakeMemoback to summary
private HandshakeMemo()