public class LicenseKey7Validator extends AbstractLicenseKeyValidator
ILicenseKeyValidator
for iText7 licensesdateWorker
Constructor and Description |
---|
LicenseKey7Validator(CertificateWorker certificateWorker) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterValidLicenseLoaded(LicenseKeyLicensee licenseKeyLicensee,
Collection<? extends LicenseKeyProduct> licenseKeyProducts) |
protected void |
beforeValidLicenseLoaded() |
void |
checkLicense(LicenseKeyProduct product) |
protected void |
checkProductCompatibility(LicenseKeyProduct product,
LicenseKeyLicensee licensee) |
protected void |
compareLicenseeInfo(LicenseKeyLicensee loadingLicensee,
LicenseKeyLicensee loadedLicensee) |
protected LicenseKeyLicensee |
extractLicensee(Element licenseeElement) |
protected String |
formLicenseeSignatureString(LicenseKeyLicensee licensee) |
protected String |
formProductSignature(LicenseKeyProduct product,
LicenseKeyLicensee licensee) |
protected String[] |
getLicenseeInfo(LicenseKeyLicensee loadedLicensee,
boolean validLicenseeWasLoaded,
boolean loadedLicenseExpired) |
protected String[] |
getProductInfo(LicenseKeyProduct product) |
compareLicenseInfoEntry, getLicenseeInfo, getProductInfo, getProducts, loadLicense, unloadLicense
public LicenseKey7Validator(CertificateWorker certificateWorker)
public void checkLicense(LicenseKeyProduct product) throws LicenseKeyException
checkLicense
in interface ILicenseKeyValidator
checkLicense
in class AbstractLicenseKeyValidator
LicenseKeyException
protected LicenseKeyLicensee extractLicensee(Element licenseeElement)
extractLicensee
in class AbstractLicenseKeyValidator
protected String[] getLicenseeInfo(LicenseKeyLicensee loadedLicensee, boolean validLicenseeWasLoaded, boolean loadedLicenseExpired)
getLicenseeInfo
in class AbstractLicenseKeyValidator
protected void compareLicenseeInfo(LicenseKeyLicensee loadingLicensee, LicenseKeyLicensee loadedLicensee)
compareLicenseeInfo
in class AbstractLicenseKeyValidator
protected String[] getProductInfo(LicenseKeyProduct product)
getProductInfo
in class AbstractLicenseKeyValidator
protected String formLicenseeSignatureString(LicenseKeyLicensee licensee)
formLicenseeSignatureString
in class AbstractLicenseKeyValidator
protected String formProductSignature(LicenseKeyProduct product, LicenseKeyLicensee licensee)
formProductSignature
in class AbstractLicenseKeyValidator
protected void beforeValidLicenseLoaded()
beforeValidLicenseLoaded
in class AbstractLicenseKeyValidator
protected void afterValidLicenseLoaded(LicenseKeyLicensee licenseKeyLicensee, Collection<? extends LicenseKeyProduct> licenseKeyProducts)
afterValidLicenseLoaded
in class AbstractLicenseKeyValidator
protected void checkProductCompatibility(LicenseKeyProduct product, LicenseKeyLicensee licensee)
checkProductCompatibility
in class AbstractLicenseKeyValidator
Copyright © 2018. All rights reserved.