public class LicenseKey5Validator extends Object implements ILicenseKeyValidator
Modifier and Type | Field and Description |
---|---|
static SimpleDateFormat |
parserSDF
The format used for date Strings
|
Constructor and Description |
---|
LicenseKey5Validator(PublicKey publicKey) |
Modifier and Type | Method and Description |
---|---|
void |
checkLicense(LicenseKeyProduct product) |
String[] |
getLicenseeInfo() |
void |
LoadLicense(Element licenseKeyRoot)
Load and Validate the license file represented by passed DOM tree.
|
public static final SimpleDateFormat parserSDF
public LicenseKey5Validator(PublicKey publicKey)
public void LoadLicense(Element licenseKeyRoot)
ILicenseKeyValidator
LoadLicense
in interface ILicenseKeyValidator
licenseKeyRoot
- root node of the license key file representationpublic void checkLicense(LicenseKeyProduct product) throws LicenseKeyException
checkLicense
in interface ILicenseKeyValidator
LicenseKeyException
public String[] getLicenseeInfo()
getLicenseeInfo
in interface ILicenseKeyValidator
Copyright © 2018. All rights reserved.