|
|||||||||
| Home >> All >> com >> sourcetap >> [ license overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.sourcetap.license
Class LicenseVerifier

java.lang.Objectcom.sourcetap.license.LicenseVerifier
- public class LicenseVerifier
- extends java.lang.Object
Verify a License Key using the public key to decrypt it
- Version:
- $Revision$
| Field Summary | |
private java.lang.Boolean |
valid
|
| Constructor Summary | |
LicenseVerifier()
|
|
| Method Summary | |
static java.security.PublicKey |
readPublicKey(java.lang.String URI)
read a Public Key from a file |
private static java.lang.String |
readSignature(java.lang.String signatureFile)
|
static License |
validateLicense(java.lang.String licenseEncoded,
java.lang.String publicKeyFile)
decrypt the encoded license key and return the corresponding License Object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
valid
private java.lang.Boolean valid
| Constructor Detail |
LicenseVerifier
public LicenseVerifier()
| Method Detail |
validateLicense
public static License validateLicense(java.lang.String licenseEncoded, java.lang.String publicKeyFile) throws LicenseException
- decrypt the encoded license key and return the corresponding License Object
readSignature
private static java.lang.String readSignature(java.lang.String signatureFile) throws java.io.IOException
readPublicKey
public static java.security.PublicKey readPublicKey(java.lang.String URI) throws LicenseException
- read a Public Key from a file
|
|||||||||
| Home >> All >> com >> sourcetap >> [ license overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.sourcetap.license.LicenseVerifier