final class SSLSocketOutputRecord extends OutputRecord implements SSLRecord
OutputRecord implementation for SSLSocket.| 限定符和类型 | 字段和说明 |
|---|---|
private OutputStream |
deliverStream |
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| 构造器和说明 |
|---|
SSLSocketOutputRecord(HandshakeHash handshakeHash) |
SSLSocketOutputRecord(HandshakeHash handshakeHash,
TransportContext tc) |
| 限定符和类型 | 方法和说明 |
|---|---|
(专用程序包) void |
deliver(byte[] source,
int offset,
int length) |
(专用程序包) void |
encodeAlert(byte level,
byte description) |
(专用程序包) void |
encodeChangeCipherSpec() |
(专用程序包) void |
encodeHandshake(byte[] source,
int offset,
int length) |
void |
flush() |
private int |
getFragLimit() |
private boolean |
needToSplitPayload() |
(专用程序包) void |
setDeliverStream(OutputStream outputStream) |
calculateFragmentSize, changeFragmentSize, changePacketSize, changeWriteCiphers, changeWriteCiphers, close, encode, encodeV2ClientHello, encodeV2NoCipher, encrypt, encrypt, getMaxPacketSize, isClosed, isEmpty, seqNumIsHuge, setHelloVersion, setVersionreset, size, toByteArray, toString, toString, toString, write, write, writeTowriteclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBytes16, getBytes24, getBytes8, getInt16, getInt24, getInt32, getInt8, putBytes16, putBytes24, putBytes8, putInt16, putInt24, putInt32, putInt8, verifyLengthprivate OutputStream deliverStream
SSLSocketOutputRecord(HandshakeHash handshakeHash)
SSLSocketOutputRecord(HandshakeHash handshakeHash, TransportContext tc)
void encodeAlert(byte level,
byte description)
throws IOException
encodeAlert 在类中 OutputRecordIOExceptionvoid encodeHandshake(byte[] source,
int offset,
int length)
throws IOException
encodeHandshake 在类中 OutputRecordIOExceptionvoid encodeChangeCipherSpec()
throws IOException
encodeChangeCipherSpec 在类中 OutputRecordIOExceptionpublic void flush()
throws IOException
flush 在接口中 Flushableflush 在类中 OutputStreamIOExceptionvoid deliver(byte[] source,
int offset,
int length)
throws IOException
deliver 在类中 OutputRecordIOExceptionvoid setDeliverStream(OutputStream outputStream)
setDeliverStream 在类中 OutputRecordprivate boolean needToSplitPayload()
private int getFragLimit()
Copyright © 2023. All rights reserved.