|
common-util | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlocal.tomas.license.LicenseValidator
public class LicenseValidator
License validator.
| Constructor Summary | |
|---|---|
LicenseValidator(String certUrl)
Create license validator from certificate URL. |
|
LicenseValidator(X509Certificate cert)
Create license validator from certificate. |
|
| Method Summary | |
|---|---|
void |
validate(License license)
Validate license. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LicenseValidator(X509Certificate cert)
cert - certificate
public LicenseValidator(String certUrl)
throws LicenseException
certUrl - URL where certificate can be found. If it starts with res:/// the remainder
of the string refers to an internal resource on the classpath.
LicenseException| Method Detail |
|---|
public void validate(License license)
throws LicenseException
license - the license
LicenseException - thrown if validation fails
|
common-util | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||