InputRecord takes care of the management of SSL/TLS/DTLS input
records, including buffering, decryption, handshake messages marshal, etc.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv final HandshakeHash | |
| pack-priv ProtocolVersion | |
| pack-priv volatile boolean | |
| pack-priv SSLCipher. | |
| pack-priv final ReentrantLock | |
| pack-priv TransportContext |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Plaintext | |
| pack-priv int | |
| pack-priv int | |
| pack-priv void | |
| pack-priv void | |
| public void | close()
Implements java. Prevent any more data from being read into this record, and flag the record as holding no data. |
| pack-priv static ByteBuffer | |
| pack-priv abstract Plaintext[] | |
| pack-priv int | |
| pack-priv void | |
| pack-priv static ByteBuffer | |
| pack-priv void | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void |
| fragmentSize | back to summary |
|---|---|
| pack-priv int fragmentSize | |
| 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 | |
| readCipher | back to summary |
|---|---|
| pack-priv SSLCipher. | |
| recordLock | back to summary |
|---|---|
| pack-priv final ReentrantLock recordLock | |
| tc | back to summary |
|---|---|
| pack-priv TransportContext tc | |
| InputRecord | back to summary |
|---|---|
| pack-priv InputRecord(HandshakeHash handshakeHash, SSLCipher. | |
| acquirePlaintext | back to summary |
|---|---|
| pack-priv Plaintext acquirePlaintext() throws IOException | |
| bytesInCompletePacket | back to summary |
|---|---|
| pack-priv int bytesInCompletePacket(ByteBuffer[] srcs, int srcsOffset, int srcsLength) throws IOException | |
| bytesInCompletePacket | back to summary |
|---|---|
| pack-priv int bytesInCompletePacket() throws IOException | |
| changeFragmentSize | back to summary |
|---|---|
| pack-priv void changeFragmentSize(int fragmentSize) | |
| changeReadCiphers | back to summary |
|---|---|
| pack-priv void changeReadCiphers(SSLCipher. | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Prevent any more data from being read into this record, and flag the record as holding no data.
| |
| convertToClientHello | back to summary |
|---|---|
| pack-priv static ByteBuffer convertToClientHello(ByteBuffer packet) | |
| decode | back to summary |
|---|---|
| pack-priv abstract Plaintext[] decode(ByteBuffer[] srcs, int srcsOffset, int srcsLength) throws IOException, BadPaddingException | |
| estimateFragmentSize | back to summary |
|---|---|
| pack-priv int estimateFragmentSize(int packetSize) | |
| expectingFinishFlight | back to summary |
|---|---|
| pack-priv void expectingFinishFlight() | |
| extract | back to summary |
|---|---|
| pack-priv static ByteBuffer extract(ByteBuffer[] buffers, int offset, int length, int headerSize) | |
| finishHandshake | back to summary |
|---|---|
| pack-priv void finishHandshake() | |
| isClosed | back to summary |
|---|---|
| pack-priv boolean isClosed() | |
| isEmpty | back to summary |
|---|---|
| pack-priv boolean isEmpty() | |
| 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) | |
| setReceiverStream | back to summary |
|---|---|
| pack-priv void setReceiverStream(InputStream inputStream) | |