public class EAPOLMkpduICVIndicatorParameterSet extends BasePacket implements EAPOLMkpduParameterSet
| Modifier and Type | Field and Description |
|---|---|
static short |
TOTAL_ICVPS_BODY_LENGTH |
parent, payloadBODY_LENGTH_MSB_MASK, BODY_LENGTH_MSB_SHIFT, BODY_LENGTH_OCTET_OFFSET, FIELD_MI_LENGTH, FIELD_MN_LENGTH, FIELD_SCI_LENGTH, PARAMETERSET_TYPE_BASIC, PARAMETERSET_TYPE_DISTRIBUTED_SAK, PARAMETERSET_TYPE_ICV_INDICATOR, PARAMETERSET_TYPE_LIVE_PEER_LIST, PARAMETERSET_TYPE_MACSEC_SAK_USE, PARAMETERSET_TYPE_POTENTIAL_PEER_LIST| Constructor and Description |
|---|
EAPOLMkpduICVIndicatorParameterSet() |
| Modifier and Type | Method and Description |
|---|---|
static Deserializer<EAPOLMkpduICVIndicatorParameterSet> |
deserializer()
Deserializer function for ICV Indicator Parameter Set.
|
short |
getBodyLength()
Retrieve Body Length field of Parameter Set.
|
byte |
getParameterSetType()
Retrieve Type of Parameter Set.
|
short |
getTotalLength()
Total length; ie.
|
byte[] |
serialize()
Utility function for Serializing Parameter Set.
|
void |
setBodyLength(short bodyLength)
To set body length.
|
void |
setICV(byte[] icv)
To set ICV.
|
clone, equals, getParent, getPayload, hashCode, resetChecksum, setParent, setPayloadpublic static final short TOTAL_ICVPS_BODY_LENGTH
public byte[] serialize()
EAPOLMkpduParameterSetserialize in interface EAPOLMkpduParameterSetserialize in interface IPacketpublic static Deserializer<EAPOLMkpduICVIndicatorParameterSet> deserializer()
public byte getParameterSetType()
EAPOLMkpduParameterSetgetParameterSetType in interface EAPOLMkpduParameterSetpublic short getTotalLength()
EAPOLMkpduParameterSetgetTotalLength in interface EAPOLMkpduParameterSetpublic short getBodyLength()
EAPOLMkpduParameterSetgetBodyLength in interface EAPOLMkpduParameterSetpublic void setBodyLength(short bodyLength)
bodyLength - ,type shortpublic void setICV(byte[] icv)
icv - , type byte[]