final class SSLEngineInputRecord extends InputRecord implements SSLRecord
InputRecord implementation for SSLEngine.| 限定符和类型 | 字段和说明 |
|---|---|
private boolean |
formatVerified |
private ByteBuffer |
handshakeBuffer |
fragmentSize, handshakeHash, helloVersion, isClosed, readCipher, tchandshakeHeaderSize, headerPlusMaxIVSize, headerSize, maxLargeRecordSize, maxPlaintextPlusSize, maxRecordSize, v2NoCipherenableCBCProtection, maxDataSize, maxFragmentSize, maxIVLength, maxMacSize, maxPadding, OVERFLOW_OF_INT08, OVERFLOW_OF_INT16, OVERFLOW_OF_INT24| 构造器和说明 |
|---|
SSLEngineInputRecord(HandshakeHash handshakeHash) |
| 限定符和类型 | 方法和说明 |
|---|---|
private int |
bytesInCompletePacket(ByteBuffer packet) |
(专用程序包) int |
bytesInCompletePacket(ByteBuffer[] srcs,
int srcsOffset,
int srcsLength) |
private Plaintext[] |
decode(ByteBuffer packet) |
(专用程序包) Plaintext[] |
decode(ByteBuffer[] srcs,
int srcsOffset,
int srcsLength) |
private Plaintext[] |
decodeInputRecord(ByteBuffer packet) |
(专用程序包) int |
estimateFragmentSize(int packetSize) |
private Plaintext[] |
handleUnknownRecord(ByteBuffer packet) |
bytesInCompletePacket, changeFragmentSize, changeReadCiphers, close, convertToClientHello, extract, isClosed, seqNumIsHuge, setDeliverStream, setHelloVersion, setReceiverStreamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBytes16, getBytes24, getBytes8, getInt16, getInt24, getInt32, getInt8, putBytes16, putBytes24, putBytes8, putInt16, putInt24, putInt32, putInt8, verifyLengthprivate boolean formatVerified
private ByteBuffer handshakeBuffer
SSLEngineInputRecord(HandshakeHash handshakeHash)
int estimateFragmentSize(int packetSize)
estimateFragmentSize 在类中 InputRecordint bytesInCompletePacket(ByteBuffer[] srcs, int srcsOffset, int srcsLength) throws IOException
bytesInCompletePacket 在类中 InputRecordIOExceptionprivate int bytesInCompletePacket(ByteBuffer packet) throws SSLException
SSLExceptionPlaintext[] decode(ByteBuffer[] srcs, int srcsOffset, int srcsLength) throws IOException, BadPaddingException
decode 在类中 InputRecordIOExceptionBadPaddingExceptionprivate Plaintext[] decode(ByteBuffer packet) throws IOException, BadPaddingException
private Plaintext[] decodeInputRecord(ByteBuffer packet) throws IOException, BadPaddingException
private Plaintext[] handleUnknownRecord(ByteBuffer packet) throws IOException, BadPaddingException
Copyright © 2023. All rights reserved.