|
AdventNet WiFi Mediation API, v1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.adventnet.wifi.mediation.beans.EncryptionSettings
Class holding all the encryption related details. Primarily used while fetching the encryption related details from the Access point or to configure the same.
| Field Summary | |
static int |
DISABLE_KEY
Constant to disable a WEP Key. |
static int |
WEP_KEY1
Represents the first WEP key. |
static int |
WEP_KEY2
Represents the second WEP key. |
static int |
WEP_KEY3
Represents the third WEP key. |
static int |
WEP_KEY4
Represents the fourth WEP key. |
static int |
WEP_KEYLEN_128
Constant to represent the length of the WEP key, represents WEP key of length 128 bit. |
static int |
WEP_KEYLEN_152
Constant to represent the length of the WEP key, represents WEP key of length 152 bit. |
static int |
WEP_KEYLEN_40
Constant to represent the length of the WEP key, represents WEP key of length 40 bit. |
static int |
WEP_KEYLEN_64
Constant to represent the length of the WEP key, represents WEP key of length 64 bit. |
| Constructor Summary | |
EncryptionSettings()
|
|
| Method Summary | |
void |
disableWEP()
Method to disable the WEP. |
void |
disableWEPKey(int index)
Method to disable the a particular WEP Key. |
void |
enableAESCCMP(boolean status)
Sets the status of AES-CCMP encryption. |
void |
enableTKIP(boolean status)
Sets the status of TKIP encryption. |
void |
enableWEPEncryption(int wepKey,
java.lang.String wepKeyValue,
int wepKeyLen,
boolean transmitKey)
API to set the WEP keys. |
int |
getTransmitWEPKey()
Fetches the index of the key that is used for tranmission. |
int |
getWEPKey1Len()
Fetches the first WEP key length. |
java.lang.String |
getWEPKey1Value()
Fetches the first WEP key. |
int |
getWEPKey2Len()
Fetches the second WEP key length. |
java.lang.String |
getWEPKey2Value()
Fetches the second WEP key. |
int |
getWEPKey3Len()
Fetches the third WEP key length. |
java.lang.String |
getWEPKey3Value()
Fetches the third WEP key. |
int |
getWEPKey4Len()
Fetches the fourth WEP key length. |
java.lang.String |
getWEPKey4Value()
Fetches the fourth WEP key. |
int |
getWEPKeyLength(int index)
Fetches the WEP key length corresponding to the index specified. |
java.lang.String |
getWEPKeyValue(int index)
Fetches the WEP key corresponding to the index specified. |
java.lang.String[] |
getWEPKeyValues()
|
boolean |
isAESCCMPEnabled()
Returns the status of AES-CCMP encryption. |
boolean |
isTKIPEnabled()
Returns the status of TKIP encryption. |
boolean |
isWEPEnabled()
Returns the status of WEP encryption. |
void |
setTransmitWEPKey(int wepKey)
Sets the WEP key that is to be used for encryption. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int DISABLE_KEY
public static final int WEP_KEY1
public static final int WEP_KEY2
public static final int WEP_KEY3
public static final int WEP_KEY4
public static final int WEP_KEYLEN_40
public static final int WEP_KEYLEN_64
public static final int WEP_KEYLEN_128
public static final int WEP_KEYLEN_152
| Constructor Detail |
public EncryptionSettings()
| Method Detail |
public boolean isWEPEnabled()
public void disableWEP()
enableWEPEncryption(int,String,int,boolean)public void disableWEPKey(int index)
index - the index of the key that is to be set.WEP_KEY1,
WEP_KEY2,
WEP_KEY3,
WEP_KEY4,
enableWEPEncryption(int,String,int,boolean)public void enableTKIP(boolean status)
status - boolean indicating whether or not TKIP should be enabled.public boolean isTKIPEnabled()
public void enableAESCCMP(boolean status)
status - boolean indicating whether or not AES-CCMP should be enabled.public boolean isAESCCMPEnabled()
public java.lang.String getWEPKeyValue(int index)
index - Indicates any one of the four values(WEP_KEY1,WEP_KEY2,WEP_KEY3,WEP_KEY4).public java.lang.String[] getWEPKeyValues()
public int getWEPKeyLength(int index)
index - Indicates any one of the four values(WEP_KEY1,WEP_KEY2,WEP_KEY3,WEP_KEY4).public int getTransmitWEPKey()
public void setTransmitWEPKey(int wepKey)
wepKey - the index of the WEP key that is to be used.
public void enableWEPEncryption(int wepKey,
java.lang.String wepKeyValue,
int wepKeyLen,
boolean transmitKey)
wepKey - the index of the key that is to be set.wepKeyValue - the WEP String.wepKeyLen - the length of the WEP key.transmitKey - the key that is to be currently used for encryption,
this can be any one of the four keys that are set.public int getWEPKey1Len()
public int getWEPKey2Len()
public int getWEPKey3Len()
public int getWEPKey4Len()
public java.lang.String getWEPKey1Value()
public java.lang.String getWEPKey2Value()
public java.lang.String getWEPKey3Value()
public java.lang.String getWEPKey4Value()
public java.lang.String toString()
|
AdventNet WiFi Mediation API, v1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||