public class GenerateSaltCmdImpl extends TaskCommandImpl implements GenerateSaltCmd
This task command will randomly generate a salt of a specified length.
Before executing this task command, invoke the following method:
setSaltLength
Upon execution of this command,call the method getSalt to retrieve the randomly generated salt. Error View Task: GenerateSaltErrorView
Modifier and Type | Field and Description |
---|---|
static java.lang.String | ERRTASK_NAME
Error task name.
|
Constructor and Description |
---|
GenerateSaltCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String | getSalt()
Retrieves the Salt that was generated.
|
void | performExecute()
Generates a random salt of a specified length.
|
void | setSaltLength(int nSaltLength)
Sets the length of the salt that should be generated.
|
public static final java.lang.String ERRTASK_NAME
public java.lang.String getSalt()
public void performExecute() throws ECException
public void setSaltLength(int nSaltLength)