Top Description Fields Constructors Methods
sun.security.ssl

pack-priv final Class SSLEngineInputRecord

extends InputRecord
implements SSLRecord
Class Inheritance
All Implemented Interfaces
sun.security.ssl.SSLRecord, sun.security.ssl.Record
Imports
java.io.IOException, java.nio.ByteBuffer, java.security.GeneralSecurityException, java.util.ArrayList, javax.crypto.BadPaddingException, javax.net.ssl.SSLException, .SSLHandshakeException, .SSLProtocolException, sun.security.ssl.SSLCipher.SSLReadCipher

InputRecord implementation for SSLEngine.

Field Summary

Modifier and TypeField and Description
private boolean
private ByteBuffer
Inherited from sun.security.ssl.InputRecord:
fragmentSizehandshakeHashhelloVersionisClosedreadCipherrecordLocktc

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv int
private int
pack-priv Plaintext[]
decode(ByteBuffer[] srcs, int srcsOffset, int srcsLength)

Implements abstract sun.security.ssl.InputRecord.decode.

private Plaintext[]
private Plaintext[]
pack-priv int
private Plaintext[]
Inherited from sun.security.ssl.InputRecord:
acquirePlaintextbytesInCompletePacketchangeFragmentSizechangeReadCipherscloseconvertToClientHelloexpectingFinishFlightextractfinishHandshakeisClosedisEmptyseqNumIsHugesetDeliverStreamsetHelloVersionsetReceiverStream

Field Detail

formatVerifiedback to summary
private boolean formatVerified
handshakeBufferback to summary
private ByteBuffer handshakeBuffer

Constructor Detail

SSLEngineInputRecordback to summary
pack-priv SSLEngineInputRecord(HandshakeHash handshakeHash)

Method Detail

bytesInCompletePacketback to summary
pack-priv int bytesInCompletePacket(ByteBuffer[] srcs, int srcsOffset, int srcsLength) throws IOException

Overrides sun.security.ssl.InputRecord.bytesInCompletePacket.

Annotations
@Override
bytesInCompletePacketback to summary
private int bytesInCompletePacket(ByteBuffer packet) throws SSLException
decodeback to summary
pack-priv Plaintext[] decode(ByteBuffer[] srcs, int srcsOffset, int srcsLength) throws IOException, BadPaddingException

Implements abstract sun.security.ssl.InputRecord.decode.

Annotations
@Override
decodeback to summary
private Plaintext[] decode(ByteBuffer packet) throws IOException, BadPaddingException
decodeInputRecordback to summary
private Plaintext[] decodeInputRecord(ByteBuffer packet) throws IOException, BadPaddingException
estimateFragmentSizeback to summary
pack-priv int estimateFragmentSize(int packetSize)

Overrides sun.security.ssl.InputRecord.estimateFragmentSize.

Annotations
@Override
handleUnknownRecordback to summary
private Plaintext[] handleUnknownRecord(ByteBuffer packet) throws IOException