public class LicenseKey7Validator extends AbstractLicenseKeyValidator
ILicenseKeyValidator
for iText7 licensesdateWorker
Constructor and Description |
---|
LicenseKey7Validator(CertificateWorker certificateWorker) |
compareLicenseInfoEntry, getLicenseConfiguration, getLicenseeInfo, getProductInfo, getProducts, loadLicense
public LicenseKey7Validator(CertificateWorker certificateWorker)
public void checkLicense(LicenseKeyProduct product) throws LicenseKeyException
checkLicense
in interface ILicenseKeyValidator
checkLicense
in class AbstractLicenseKeyValidator
LicenseKeyException
public void unloadLicense()
unloadLicense
in interface ILicenseKeyValidator
unloadLicense
in class AbstractLicenseKeyValidator
protected LicenseKeyLicensee extractLicensee(Element licenseeElement)
extractLicensee
in class AbstractLicenseKeyValidator
protected Map<String,String> extractLicenseConfiguration(Element licenseeElement)
extractLicenseConfiguration
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 © 2020. All rights reserved.