|
TrueLicense Core 1.33 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.schlichtherle.license.AbstractKeyStoreParam
de.schlichtherle.license.DefaultKeyStoreParam
public class DefaultKeyStoreParam
This is a convenience class implementing the KeyStoreParam interface.
| Field Summary | |
|---|---|
private String |
alias
|
private String |
keyPwd
|
private String |
storePwd
|
| Constructor Summary | |
|---|---|
DefaultKeyStoreParam(Class clazz,
String resource,
String alias,
String storePwd,
String keyPwd)
Constructs a new instance. |
|
| Method Summary | |
|---|---|
String |
getAlias()
Returns the alias for the key entry in the key store. |
String |
getKeyPwd()
Returns the password for the private key in the keystore. |
String |
getStorePwd()
Returns the password for the keystore. |
| Methods inherited from class de.schlichtherle.license.AbstractKeyStoreParam |
|---|
equals, getStream, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final String alias
private final String keyPwd
private final String storePwd
| Constructor Detail |
|---|
public DefaultKeyStoreParam(Class clazz,
String resource,
String alias,
String storePwd,
String keyPwd)
clazz - Used to retrieve the classloader required to load the
keystore as a resource.resource - The resource identifier for the keystore
to be returned by AbstractKeyStoreParam.getStream().alias - The alias for the key entry in the key store
to be returned by getAlias().storePwd - The key store password
to be returned by getStorePwd().keyPwd - The password for the private key in the key store entry
to be returned by getStorePwd().| Method Detail |
|---|
public String getAlias()
KeyStoreParam
null is never returned.public String getKeyPwd()
KeyStoreParamGenericCertificate and must be null in your
client application (the one which just needs to install or verify
license certificates rather than creating them).
The LicenseNotary class may check that there is no private
key in the Java key store if this password is null
and vice versa and throw an exception if you don't
adhere to this contract.
Note that the Policy class provides additional constraints
for the returned password.
Policy.checkPwd(String)public String getStorePwd()
KeyStoreParam
Note that the Policy class provides additional constraints
for the returned password.
null is never returned.Policy.checkPwd(String)
|
TrueLicense Core 1.33 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||