|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.foxsmart.csu.config.CiscoRouterConfigParser
com.foxsmart.csu.config.global.GlobalEncryptionPassword
public class GlobalEncryptionPassword
A class to store a password along with its encryption type. See important comments in the setPassword method for rules for password specification.
| Field Summary | |
|---|---|
static int |
ENCRYPTION_TYPE_0
Encryption Type 0 is an unencrypted password. |
static int |
ENCRYPTION_TYPE_5
Encryption Type 5 is a heavily encrypted password. |
static int |
ENCRYPTION_TYPE_7
Encryption Type 7 is a weakly encrypted pasword. |
| Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser |
|---|
log, NO, tokenIndex |
| Constructor Summary | |
|---|---|
GlobalEncryptionPassword()
Default constructor. |
|
| Method Summary | |
|---|---|
int |
getEncryptionType()
Gets the encryption type. |
java.lang.String |
getPassword()
Gets the password. |
void |
setEncryptionType(int encryptionType)
Sets the encryption type. |
void |
setPassword(java.lang.String password)
Sets the password. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ENCRYPTION_TYPE_0
public static final int ENCRYPTION_TYPE_5
public static final int ENCRYPTION_TYPE_7
| Constructor Detail |
|---|
public GlobalEncryptionPassword()
| Method Detail |
|---|
public void setPassword(java.lang.String password)
password - The password.public java.lang.String getPassword()
public void setEncryptionType(int encryptionType)
throws InvalidConfigurationException
encryptionType - The encryption type.
InvalidConfigurationException - if the encryption type is invalid.public int getEncryptionType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||