public class EAPOLMkpduDistributedSAKParameterSet extends BasePacket implements EAPOLMkpduParameterSet
| Modifier and Type | Class and Description |
|---|---|
static interface |
EAPOLMkpduDistributedSAKParameterSet.KeyWrapper |
| Modifier and Type | Field and Description |
|---|---|
static byte |
CONFIDENTIALITY_OFFSET |
static byte |
DISTRIBUTED_AN_OFFSET |
static byte |
DSAKPS_GENERAL_MASK |
static short |
SAK_FIELD_LENGTH |
static short |
TOTAL_DSAKPS_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 |
|---|
EAPOLMkpduDistributedSAKParameterSet() |
| Modifier and Type | Method and Description |
|---|---|
static Deserializer<EAPOLMkpduDistributedSAKParameterSet> |
deserializer()
Deserializer function for Distributed SAK 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) |
void |
setConfidentialityOffset(byte confidentialityOffset) |
void |
setDistributedAN(byte distributedAN) |
void |
setKeyNumber(int keyNumber) |
void |
setKeyWrapper(EAPOLMkpduDistributedSAKParameterSet.KeyWrapper sakWrapper) |
void |
setSAK(byte[] sak) |
clone, equals, getParent, getPayload, hashCode, resetChecksum, setParent, setPayloadpublic static final short TOTAL_DSAKPS_BODY_LENGTH
public static final short SAK_FIELD_LENGTH
public static final byte DSAKPS_GENERAL_MASK
public static final byte DISTRIBUTED_AN_OFFSET
public static final byte CONFIDENTIALITY_OFFSET
public EAPOLMkpduDistributedSAKParameterSet()
public byte getParameterSetType()
EAPOLMkpduParameterSetgetParameterSetType in interface EAPOLMkpduParameterSetpublic short getTotalLength()
EAPOLMkpduParameterSetgetTotalLength in interface EAPOLMkpduParameterSetpublic short getBodyLength()
EAPOLMkpduParameterSetgetBodyLength in interface EAPOLMkpduParameterSetpublic void setBodyLength(short bodyLength)
public byte[] serialize()
EAPOLMkpduParameterSetserialize in interface EAPOLMkpduParameterSetserialize in interface IPacketpublic static Deserializer<EAPOLMkpduDistributedSAKParameterSet> deserializer()
public void setDistributedAN(byte distributedAN)
public void setConfidentialityOffset(byte confidentialityOffset)
public void setKeyNumber(int keyNumber)
public void setSAK(byte[] sak)
public void setKeyWrapper(EAPOLMkpduDistributedSAKParameterSet.KeyWrapper sakWrapper)