Class GenerateSaltCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, GenerateSaltCmd,,,,,,

    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:


    Upon execution of this command,call the method getSalt to retrieve the randomly generated salt. Error View Task: GenerateSaltErrorView

    See Also:
    Serialized Form
    • Field Detail


        public static final java.lang.String ERRTASK_NAME
        Error task name.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GenerateSaltCmdImpl

        public GenerateSaltCmdImpl()
    • Method Detail

      • getSalt

        public java.lang.String getSalt()
        Retrieves the Salt that was generated.
        Specified by:
        getSalt in interface GenerateSaltCmd
        The Salt.
      • setSaltLength

        public void setSaltLength(int nSaltLength)
        Sets the length of the salt that should be generated.
        Specified by:
        setSaltLength in interface GenerateSaltCmd
        nSaltLength - The length of the Salt.