public class EAPOLMkpduICVIndicatorParameterSet extends BasePacket implements EAPOLMkpduParameterSet
Modifier and Type | Field and Description |
---|---|
static short |
TOTAL_ICVPS_BODY_LENGTH |
parent, payload
BODY_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, setPayload
public static final short TOTAL_ICVPS_BODY_LENGTH
public byte[] serialize()
EAPOLMkpduParameterSet
serialize
in interface EAPOLMkpduParameterSet
serialize
in interface IPacket
public static Deserializer<EAPOLMkpduICVIndicatorParameterSet> deserializer()
public byte getParameterSetType()
EAPOLMkpduParameterSet
getParameterSetType
in interface EAPOLMkpduParameterSet
public short getTotalLength()
EAPOLMkpduParameterSet
getTotalLength
in interface EAPOLMkpduParameterSet
public short getBodyLength()
EAPOLMkpduParameterSet
getBodyLength
in interface EAPOLMkpduParameterSet
public void setBodyLength(short bodyLength)
bodyLength
- ,type shortpublic void setICV(byte[] icv)
icv
- , type byte[]