Package org.zkoss.zkex.license
Class DefaultCipherParam
- java.lang.Object
-
- org.zkoss.zkex.license.DefaultCipherParam
-
- All Implemented Interfaces:
CipherParam
public class DefaultCipherParam extends java.lang.Object implements CipherParam
This is a convenience class implementing theCipherParaminterface.- Version:
- $Id$
- Author:
- Christian Schlichtherle
-
-
Constructor Summary
Constructors Constructor Description DefaultCipherParam(java.lang.String keyPwd)Creates a new instance of DefaultCipherParam using the given password to be returned bygetKeyPwd().
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetKeyPwd()Returns the password used to generate a secret key for encryption/decryption of license keys
-
-
-
Constructor Detail
-
DefaultCipherParam
public DefaultCipherParam(java.lang.String keyPwd)
Creates a new instance of DefaultCipherParam using the given password to be returned bygetKeyPwd().
-
-
Method Detail
-
getKeyPwd
public java.lang.String getKeyPwd()
Description copied from interface:CipherParamReturns the password used to generate a secret key for encryption/decryption of license keys. -nullis never returned.Note that the
Policyclass provides additional constraints for the returned password.- Specified by:
getKeyPwdin interfaceCipherParam- See Also:
Policy.checkPwd(String)
-
-