de.schlichtherle.license
Class DefaultCipherParam
java.lang.Object
de.schlichtherle.license.DefaultCipherParam
- All Implemented Interfaces:
- CipherParam
public class DefaultCipherParam
- extends Object
- implements CipherParam
This is a convenience class implementing the CipherParam interface.
- Author:
- Christian Schlichtherle
|
Method Summary |
String |
getKeyPwd()
Returns the password used to generate a secret key for the
encryption/decryption of license keys |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keyPwd
private final String keyPwd
DefaultCipherParam
public DefaultCipherParam(String keyPwd)
- Creates a new instance of DefaultCipherParam using the given password
to be returned by
getKeyPwd().
getKeyPwd
public String getKeyPwd()
- Description copied from interface:
CipherParam
- Returns the password used to generate a secret key for the
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
- Returns:
- The password used to generate a secret key for the
encryption/decryption of license keys.
- See Also:
Policy.checkPwd(String)
Copyright © 2005-2015 Schlichtherle IT Services. All Rights Reserved.