public class DigesterLicenseManager
extends com.lf.commons.crypto.LicenseManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID_BASIC_EDITION
Product type identifier.
|
static java.lang.String |
ID_DEVELOPMENT_EDITION
Product type identifier.
|
static java.lang.String |
ID_ENTERPRISE_EDITION
Product type identifier.
|
static java.lang.String |
ID_PREMIUM_SUPPORT
Support level identifier.
|
static java.lang.String |
ID_STANDARD_EDITION
Product type identifier.
|
static java.lang.String |
ID_STANDARD_SUPPORT
Support level identifier.
|
applicationID, build, CONFIG_AGREE_REQUIRED, CONFIG_CLIENT_IDS, CONFIG_CLIENT_NAMES, CONFIG_SUPPORT_FROM, CONFIG_SUPPORT_LEVEL, CONFIG_SUPPORT_UNTIL, cryptoManager, encryptedData, ID_EVALUATION_LICENSE, ID_FLOATING_LICENSE, ID_SINGLE_MACHINE_LICENSE, ID_SINGLE_USER_LICENSE, ID_SITE_LICENSE, license, MAXLENGTH, providerAES, providerSignature, recipientUserID, signerUserID
Constructor and Description |
---|
DigesterLicenseManager()
Constructor method for i18n purposes only.
|
DigesterLicenseManager(java.lang.String appid,
java.util.Date build,
java.lang.String recipient,
java.lang.String signer,
com.lf.commons.crypto.CryptoManager manager,
com.lf.commons.crypto.PassphraseProvider provideraes,
com.lf.commons.crypto.PassphraseProvider providersig)
Constructor for the license manager.
|
Modifier and Type | Method and Description |
---|---|
com.lf.commons.crypto.Agreement[] |
getAgreements()
Provides the license agreements in various localizations.
|
java.lang.Object |
getClone()
Creates an exact copy of this instance.
|
java.lang.Object[][] |
getConfigurationForDisplay(com.lf.commons.config.Configuration config)
Provides the application configuration included in the license document to be displayed.
|
java.lang.String |
getEdition()
Provides the current product type like "Standard Edition".
|
java.lang.String |
getEditionShort()
Provides the current product type like "SE" which stands for "Standard Edition".
|
boolean |
isAgreeRequired()
Checks if the current license requires the user to commit if it is installed.
|
boolean |
isBasicEdition()
Determines whether the license is for the basic edition.
|
boolean |
isDevelopmentEdition()
Determines whether the license is for the development edition.
|
boolean |
isEnterpriseEdition()
Determines whether the license is for the enterprise edition.
|
boolean |
isStandardEdition()
Determines whether the license is for the standard edition.
|
boolean |
isValidPremiumSupport()
Has the user registered for Premium Support?
|
calculateTrialDaysLeft, debugPrint, getConfiguration, getConfigUserTextBoolean, getEncryptedData, getLicense, getLicenseDate, getLicenseID, getLicenseProductType, getLicenseType, getLicenseUsers, getProperties, isEvaluationLicense, isFloatingLicense, isLicenseArmed, isLicenseValid, isLicenseValid, isSingleMachineLicense, isSingleUserLicense, isSiteLicense, loadLicense, loadLicense, loadLicense, loadLicense, loadLicense
public static final java.lang.String ID_BASIC_EDITION
public static final java.lang.String ID_STANDARD_EDITION
public static final java.lang.String ID_ENTERPRISE_EDITION
public static final java.lang.String ID_DEVELOPMENT_EDITION
public static final java.lang.String ID_STANDARD_SUPPORT
public static final java.lang.String ID_PREMIUM_SUPPORT
public DigesterLicenseManager() throws java.lang.InstantiationException
I18NExtractor
).
java.lang.InstantiationException
- Error indicationpublic DigesterLicenseManager(java.lang.String appid, java.util.Date build, java.lang.String recipient, java.lang.String signer, com.lf.commons.crypto.CryptoManager manager, com.lf.commons.crypto.PassphraseProvider provideraes, com.lf.commons.crypto.PassphraseProvider providersig)
appid
- The identification of the applicationbuild
- The build date of the application to be checkedrecipient
- The recipient key IDsigner
- The signer key ID (optional)manager
- The key management helperprovideraes
- The AES key provider (optional)providersig
- The signature provider (optional)java.lang.NullPointerException
- If parameters are null
public boolean isBasicEdition()
public boolean isStandardEdition()
public boolean isEnterpriseEdition()
public boolean isDevelopmentEdition()
public java.lang.String getEdition()
null
if not availablepublic java.lang.String getEditionShort()
null
if not availablepublic java.lang.Object getClone()
public boolean isAgreeRequired()
isAgreeRequired
in class com.lf.commons.crypto.LicenseManager
true
)?public java.lang.Object[][] getConfigurationForDisplay(com.lf.commons.config.Configuration config)
getConfigurationForDisplay
in class com.lf.commons.crypto.LicenseManager
config
- The variablesString
), may be null
public boolean isValidPremiumSupport()
SupportDialog
is only available for Premium Support customers.
false
)?public com.lf.commons.crypto.Agreement[] getAgreements()
getAgreements
in class com.lf.commons.crypto.LicenseManager
null
if parsing went wrong or license is not armedCopyright © 2005-2015 Leisenfels UG. All rights reserved.