public class EAPOLMkpduBasicParameterSet extends BasePacket implements EAPOLMkpduParameterSet
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
EAPOLMkpduBasicParameterSet.SCI
MKA Secure Channel Identifier. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static short | 
BPS_FIXED_PART_SIZE_UPTO_LENGTH_FIELD  | 
static short | 
BPS_FIXED_PART_TOTAL_SIZE  | 
static int | 
FIELD_ALGAG_LENGTH  | 
static byte | 
KEYSERVER_MASK  | 
static byte | 
KEYSERVER_OFFSET  | 
static byte | 
MACSEC_CAPABILITY_MASK  | 
static byte | 
MACSEC_CAPABILITY_OFFSET  | 
static byte | 
MACSEC_DESIRED_MASK  | 
static byte | 
MACSEC_DESIRED_OFFSET  | 
static int | 
TOTAL_BPS_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 | 
|---|
EAPOLMkpduBasicParameterSet()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Deserializer<EAPOLMkpduBasicParameterSet> | 
deserializer()
Deserializer function for Basic Parameter Set. 
 | 
byte[] | 
getActorMI()
To get Member Identifier. 
 | 
int | 
getActorMN()
To get Member Identifier. 
 | 
byte[] | 
getAlgAgility()
To get Algorithm Agility. 
 | 
short | 
getBodyLength()
Retrieve Body Length field of Parameter Set. 
 | 
byte[] | 
getCKN()
To get CAK name. 
 | 
boolean | 
getKeyServer()
To get Key Server. 
 | 
byte | 
getKeyServerPriority()
To get Key Server Priority. 
 | 
byte | 
getMacSecCapacity()
To get MACSec Capacity. 
 | 
boolean | 
getMacSecDesired()
To get MACSec Desired. 
 | 
byte | 
getMkaVersion()
To get MKA Version. 
 | 
byte | 
getParameterSetType()
Retrieve Type of Parameter Set. 
 | 
EAPOLMkpduBasicParameterSet.SCI | 
getSci()
To get SCI. 
 | 
short | 
getTotalLength()
Total length; ie. 
 | 
byte[] | 
serialize()
Utility function for Serializing Parameter Set. 
 | 
void | 
setActorMI(byte[] mi)
To set Member Identifier. 
 | 
void | 
setActorMN(byte[] mn)
To set Member Identifier. 
 | 
void | 
setActorMN(int mn)
To set Member Identifier. 
 | 
void | 
setAlgAgility(byte[] algAgility)
To set Algorithm Agility. 
 | 
void | 
setBodyLength(short length)
To set body length. 
 | 
void | 
setCKN(byte[] ckn)
To set CAK name. 
 | 
void | 
setKeyServer(boolean isKeyServer)
To set Key Server. 
 | 
void | 
setKeyServerPriority(byte priority)
To set Key Server Priority. 
 | 
void | 
setMacSecCapability(byte capability)
To set MACSec Capacity. 
 | 
void | 
setMacSecDesired(boolean desired)
To set MACSec Desired. 
 | 
void | 
setMkaVersion(byte version)
To set MKA Version. 
 | 
void | 
setPadding(byte[] padding)
To set padding. 
 | 
void | 
setSci(byte[] sci)
To set SCI. 
 | 
void | 
setSci(EAPOLMkpduBasicParameterSet.SCI sci)
To set SCI. 
 | 
clone, equals, getParent, getPayload, hashCode, resetChecksum, setParent, setPayloadpublic static final int FIELD_ALGAG_LENGTH
public static final int TOTAL_BPS_BODY_LENGTH
public static final byte KEYSERVER_MASK
public static final byte KEYSERVER_OFFSET
public static final byte MACSEC_DESIRED_MASK
public static final byte MACSEC_DESIRED_OFFSET
public static final byte MACSEC_CAPABILITY_MASK
public static final byte MACSEC_CAPABILITY_OFFSET
public static final short BPS_FIXED_PART_SIZE_UPTO_LENGTH_FIELD
public static final short BPS_FIXED_PART_TOTAL_SIZE
public void setMkaVersion(byte version)
version - , type bytepublic byte getMkaVersion()
public void setKeyServerPriority(byte priority)
priority - , type bytepublic byte getKeyServerPriority()
public void setKeyServer(boolean isKeyServer)
isKeyServer - , type booleanpublic boolean getKeyServer()
public void setMacSecDesired(boolean desired)
desired - , type booleanpublic boolean getMacSecDesired()
public void setMacSecCapability(byte capability)
capability - ,type bytepublic byte getMacSecCapacity()
public void setBodyLength(short length)
length - , type shortpublic short getBodyLength()
EAPOLMkpduParameterSetgetBodyLength in interface EAPOLMkpduParameterSetpublic void setSci(byte[] sci)
sci - , byte[]public void setSci(EAPOLMkpduBasicParameterSet.SCI sci)
sci - , SCIpublic EAPOLMkpduBasicParameterSet.SCI getSci()
public void setActorMI(byte[] mi)
                throws IllegalArgumentException
mi - , type byte[]IllegalArgumentException - if mi is not set.public byte[] getActorMI()
public void setActorMN(byte[] mn)
                throws IllegalArgumentException
mn - , type byte[]IllegalArgumentException - if mn is not set.public void setActorMN(int mn)
mn - , type intpublic int getActorMN()
public void setAlgAgility(byte[] algAgility)
                   throws IllegalArgumentException
algAgility - , type byte[]IllegalArgumentException - if algAgility is not set or in incorrect formatpublic byte[] getAlgAgility()
public void setCKN(byte[] ckn)
ckn - , type byte[]public byte[] getCKN()
public void setPadding(byte[] padding)
padding - , type byte[]public static Deserializer<EAPOLMkpduBasicParameterSet> deserializer()
public byte[] serialize()
EAPOLMkpduParameterSetserialize in interface EAPOLMkpduParameterSetserialize in interface IPacketpublic byte getParameterSetType()
EAPOLMkpduParameterSetgetParameterSetType in interface EAPOLMkpduParameterSetpublic short getTotalLength()
EAPOLMkpduParameterSetgetTotalLength in interface EAPOLMkpduParameterSet