public abstract class AbstractTLSRecord
extends java.lang.Object
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.
|
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.