final class SSLEngineOutputRecord extends OutputRecord implements SSLRecord
OutputRecord implementation for SSLEngine.| 限定符和类型 | 类和说明 |
|---|---|
(专用程序包) class |
SSLEngineOutputRecord.HandshakeFragment |
private static class |
SSLEngineOutputRecord.HandshakeMemo |
private static class |
SSLEngineOutputRecord.RecordMemo |
| 限定符和类型 | 字段和说明 |
|---|---|
private SSLEngineOutputRecord.HandshakeFragment |
fragmenter |
private boolean |
isCloseWaiting |
private boolean |
isTalkingToV2 |
private ByteBuffer |
v2ClientHello |
firstMessage, handshakeHash, helloVersion, isClosed, isFirstAppOutputRecord, packetSize, protocolVersion, tc, writeCipherbuf, counthandshakeHeaderSize, headerPlusMaxIVSize, headerSize, maxLargeRecordSize, maxPlaintextPlusSize, maxRecordSize, v2NoCipherenableCBCProtection, maxDataSize, maxFragmentSize, maxIVLength, maxMacSize, maxPadding, OVERFLOW_OF_INT08, OVERFLOW_OF_INT16, OVERFLOW_OF_INT24| 构造器和说明 |
|---|
SSLEngineOutputRecord(HandshakeHash handshakeHash) |
| 限定符和类型 | 方法和说明 |
|---|---|
private Ciphertext |
acquireCiphertext(ByteBuffer destination) |
void |
close() |
private Ciphertext |
encode(ByteBuffer[] sources,
int offset,
int length,
ByteBuffer destination) |
(专用程序包) Ciphertext |
encode(ByteBuffer[] srcs,
int srcsOffset,
int srcsLength,
ByteBuffer[] dsts,
int dstsOffset,
int dstsLength) |
(专用程序包) void |
encodeAlert(byte level,
byte description) |
(专用程序包) void |
encodeChangeCipherSpec() |
(专用程序包) void |
encodeHandshake(byte[] source,
int offset,
int length) |
(专用程序包) void |
encodeV2NoCipher() |
(专用程序包) boolean |
isClosed() |
(专用程序包) boolean |
isEmpty() |
(专用程序包) boolean |
needToSplitPayload() |
calculateFragmentSize, changeFragmentSize, changePacketSize, changeWriteCiphers, changeWriteCiphers, deliver, encodeV2ClientHello, encrypt, encrypt, getMaxPacketSize, seqNumIsHuge, setDeliverStream, setHelloVersion, setVersionreset, size, toByteArray, toString, toString, toString, write, write, writeToflush, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBytes16, getBytes24, getBytes8, getInt16, getInt24, getInt32, getInt8, putBytes16, putBytes24, putBytes8, putInt16, putInt24, putInt32, putInt8, verifyLengthprivate SSLEngineOutputRecord.HandshakeFragment fragmenter
private boolean isTalkingToV2
private ByteBuffer v2ClientHello
private volatile boolean isCloseWaiting
SSLEngineOutputRecord(HandshakeHash handshakeHash)
public void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 OutputRecordIOExceptionboolean isClosed()
isClosed 在类中 OutputRecordvoid encodeAlert(byte level,
byte description)
throws IOException
encodeAlert 在类中 OutputRecordIOExceptionvoid encodeHandshake(byte[] source,
int offset,
int length)
throws IOException
encodeHandshake 在类中 OutputRecordIOExceptionvoid encodeChangeCipherSpec()
throws IOException
encodeChangeCipherSpec 在类中 OutputRecordIOExceptionvoid encodeV2NoCipher()
throws IOException
encodeV2NoCipher 在类中 OutputRecordIOExceptionCiphertext encode(ByteBuffer[] srcs, int srcsOffset, int srcsLength, ByteBuffer[] dsts, int dstsOffset, int dstsLength) throws IOException
encode 在类中 OutputRecordIOExceptionprivate Ciphertext encode(ByteBuffer[] sources, int offset, int length, ByteBuffer destination) throws IOException
IOExceptionprivate Ciphertext acquireCiphertext(ByteBuffer destination) throws IOException
IOExceptionboolean isEmpty()
isEmpty 在类中 OutputRecordboolean needToSplitPayload()
Copyright © 2023. All rights reserved.