public abstract class AbstractTLSRecord
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
m_Data |
protected int |
m_dataLen |
protected byte[] |
m_Header |
protected int |
m_Type |
Constructor and Description |
---|
AbstractTLSRecord() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Returns the original buffer of the data of this TLS record.
|
byte[] |
getHeader()
Returns the original buffer of the header of this TLS record.
|
abstract int |
getHeaderLength() |
int |
getLength()
Returns the size of the payload data of the TLS record.
|
int |
getType()
Returns the type of the TLS record.
|
void |
setType(int type)
Sets the type of the TLS record.
|
protected int m_Type
protected int m_dataLen
protected byte[] m_Data
protected byte[] m_Header
public byte[] getHeader()
public byte[] getData()
public void setType(int type)
type
- Type to be set.public int getType()
public int getLength()
public abstract int getHeaderLength()
Copyright © 2023. All rights reserved.