public final class TLSPlaintextRecord extends AbstractTLSRecord
Modifier and Type | Field and Description |
---|---|
static int |
HEADER_LENGTH |
static int |
MAX_PAYLOAD_SIZE |
Constructor and Description |
---|
TLSPlaintextRecord()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
clean() |
int |
getHeaderLength() |
int |
getMaxPayloadSize() |
TLSHandshakeRecord |
getNextHandshakeRecord()
Returns the next handshake record from inside the payload and increases
the internal offset accordingly.
|
boolean |
hasMoreHandshakeRecords()
Returns true if there are more handshake records in the TLS record.
|
void |
setLength(int len)
Sets the length of the TLS record.
|
public static final int HEADER_LENGTH
public static final int MAX_PAYLOAD_SIZE
public void clean()
public int getHeaderLength()
getHeaderLength
in class AbstractTLSRecord
public int getMaxPayloadSize()
public void setLength(int len)
len
- New length of the TLS record.public boolean hasMoreHandshakeRecords()
public TLSHandshakeRecord getNextHandshakeRecord()
TLSHandshakeRecord
in the payload.Copyright © 2023. All rights reserved.