OutputRecord takes care of the management of SSL/(D)TLS
output records, including buffering, encryption, handshake
messages marshal, etc.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| private int | |
| private static final byte[] | |
| pack-priv final HandshakeHash | |
| pack-priv ProtocolVersion | |
| pack-priv volatile boolean | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv ProtocolVersion | |
| pack-priv final ReentrantLock | |
| pack-priv TransportContext | |
| private static final int[] | |
| private static final int[] | |
| pack-priv SSLCipher. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public void | close()
Overrides java. Implements java. Closes this stream and releases any system resources associated with it. |
| private static long | d10Encrypt(SSLCipher.
|
| private static long | d13Encrypt(SSLCipher.
|
| pack-priv void | |
| pack-priv void | |
| pack-priv Ciphertext | encode(ByteBuffer[] srcs, int srcsOffset, int srcsLength, ByteBuffer[] dsts, int dstsOffset, int dstsLength)
|
| pack-priv abstract void | |
| pack-priv abstract void | |
| pack-priv abstract void | |
| pack-priv static ByteBuffer | |
| pack-priv void | |
| pack-priv static long | encrypt(SSLCipher.
|
| pack-priv long | |
| pack-priv void | |
| pack-priv byte[] | |
| pack-priv QuicTLSEngine. | |
| pack-priv int | |
| pack-priv void | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| private static long | t10Encrypt(SSLCipher.
|
| private long | |
| private static long | t13Encrypt(SSLCipher.
|
| private long | |
| private static int |
| firstMessage | back to summary |
|---|---|
| pack-priv boolean firstMessage | |
| fragmentSize | back to summary |
|---|---|
| private int fragmentSize | |
| HANDSHAKE_MESSAGE_KEY_UPDATE | back to summary |
|---|---|
| private static final byte[] HANDSHAKE_MESSAGE_KEY_UPDATE | |
| handshakeHash | back to summary |
|---|---|
| pack-priv final HandshakeHash handshakeHash | |
| helloVersion | back to summary |
|---|---|
| pack-priv ProtocolVersion helloVersion | |
| isClosed | back to summary |
|---|---|
| pack-priv volatile boolean isClosed | |
| isFirstAppOutputRecord | back to summary |
|---|---|
| pack-priv boolean isFirstAppOutputRecord | |
| packetSize | back to summary |
|---|---|
| pack-priv int packetSize | |
| protocolVersion | back to summary |
|---|---|
| pack-priv ProtocolVersion protocolVersion | |
| recordLock | back to summary |
|---|---|
| pack-priv final ReentrantLock recordLock | |
| tc | back to summary |
|---|---|
| pack-priv TransportContext tc | |
| V3toV2CipherMap1 | back to summary |
|---|---|
| private static final int[] V3toV2CipherMap1 | |
| V3toV2CipherMap3 | back to summary |
|---|---|
| private static final int[] V3toV2CipherMap3 | |
| writeCipher | back to summary |
|---|---|
| pack-priv SSLCipher. | |
| OutputRecord | back to summary |
|---|---|
| pack-priv OutputRecord(HandshakeHash handshakeHash, SSLCipher. | |
| calculateFragmentSize | back to summary |
|---|---|
| pack-priv int calculateFragmentSize(int fragmentLimit) | |
| changeFragmentSize | back to summary |
|---|---|
| pack-priv void changeFragmentSize(int fragmentSize) | |
| changePacketSize | back to summary |
|---|---|
| pack-priv void changePacketSize(int packetSize) | |
| changeWriteCiphers | back to summary |
|---|---|
| pack-priv void changeWriteCiphers(SSLCipher. | |
| changeWriteCiphers | back to summary |
|---|---|
| pack-priv void changeWriteCiphers(SSLCipher. | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. 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
| |
| d10Encrypt | back to summary |
|---|---|
| private static long d10Encrypt(SSLCipher. | |
| d13Encrypt | back to summary |
|---|---|
| private static long d13Encrypt(SSLCipher. | |
| deliver | back to summary |
|---|---|
| pack-priv void deliver(byte[] source, int offset, int length) throws IOException | |
| disposeWriteCipher | back to summary |
|---|---|
| pack-priv void disposeWriteCipher() | |
| encode | back to summary |
|---|---|
| pack-priv Ciphertext encode(ByteBuffer[] srcs, int srcsOffset, int srcsLength, ByteBuffer[] dsts, int dstsOffset, int dstsLength) throws IOException | |
| encodeAlert | back to summary |
|---|---|
| pack-priv abstract void encodeAlert(byte level, byte description) throws IOException | |
| encodeChangeCipherSpec | back to summary |
|---|---|
| pack-priv abstract void encodeChangeCipherSpec() throws IOException | |
| encodeHandshake | back to summary |
|---|---|
| pack-priv abstract void encodeHandshake(byte[] buffer, int offset, int length) throws IOException | |
| encodeV2ClientHello | back to summary |
|---|---|
| pack-priv static ByteBuffer encodeV2ClientHello(byte[] fragment, int offset, int length) | |
| encodeV2NoCipher | back to summary |
|---|---|
| pack-priv void encodeV2NoCipher() throws IOException | |
| encrypt | back to summary |
|---|---|
| pack-priv static long encrypt(SSLCipher. | |
| encrypt | back to summary |
|---|---|
| pack-priv long encrypt(SSLCipher. | |
| finishHandshake | back to summary |
|---|---|
| pack-priv void finishHandshake() | |
| getHandshakeMessage | back to summary |
|---|---|
| pack-priv byte[] getHandshakeMessage() | |
| getHandshakeMessageKeySpace | back to summary |
|---|---|
| pack-priv QuicTLSEngine. | |
| getMaxPacketSize | back to summary |
|---|---|
| pack-priv int getMaxPacketSize() | |
| initHandshaker | back to summary |
|---|---|
| pack-priv void initHandshaker() | |
| isClosed | back to summary |
|---|---|
| pack-priv boolean isClosed() | |
| isEmpty | back to summary |
|---|---|
| pack-priv boolean isEmpty() | |
| launchRetransmission | back to summary |
|---|---|
| pack-priv void launchRetransmission() | |
| seqNumIsHuge | back to summary |
|---|---|
| pack-priv boolean seqNumIsHuge() | |
| setDeliverStream | back to summary |
|---|---|
| pack-priv void setDeliverStream(OutputStream outputStream) | |
| setHelloVersion | back to summary |
|---|---|
| pack-priv void setHelloVersion(ProtocolVersion helloVersion) | |
| setVersion | back to summary |
|---|---|
| pack-priv void setVersion(ProtocolVersion protocolVersion) | |
| t10Encrypt | back to summary |
|---|---|
| private static long t10Encrypt(SSLCipher. | |
| t10Encrypt | back to summary |
|---|---|
| private long t10Encrypt(SSLCipher. | |
| t13Encrypt | back to summary |
|---|---|
| private static long t13Encrypt(SSLCipher. | |
| t13Encrypt | back to summary |
|---|---|
| private long t13Encrypt(SSLCipher. | |
| V3toV2CipherSuite | back to summary |
|---|---|
| private static int V3toV2CipherSuite(ByteBuffer dstBuf, byte byte1, byte byte2) | |
| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| private |
| zeros | back to summary |
|---|---|
| private static final byte[] zeros | |
| T13PaddingHolder | back to summary |
|---|---|
| private T13PaddingHolder() | |