Class DefaultCipherParam

java.lang.Object
org.zkoss.zkex.license.DefaultCipherParam
All Implemented Interfaces:
CipherParam

public class DefaultCipherParam extends Object implements CipherParam
This is a convenience class implementing the CipherParam interface.
Version:
$Id$
Author:
Christian Schlichtherle
  • Constructor Details

    • DefaultCipherParam

      public DefaultCipherParam(String keyPwd)
      Creates a new instance of DefaultCipherParam using the given password to be returned by getKeyPwd().
  • Method Details

    • getKeyPwd

      public String getKeyPwd()
      Description copied from interface: CipherParam
      Returns the password used to generate a secret key for encryption/decryption of license keys. - null is never returned.

      Note that the Policy class provides additional constraints for the returned password.

      Specified by:
      getKeyPwd in interface CipherParam
      See Also: