Uses of Interface
rs.baselib.licensing.ILicenseContext
| Package | Description |
|---|---|
| rs.baselib.licensing |
Helper methods for licensing products.
|
| rs.baselib.licensing.internal |
Internal Licensing implementations.
|
-
Uses of ILicenseContext in rs.baselib.licensing
Classes in rs.baselib.licensing that implement ILicenseContext Modifier and Type Class Description classDefaultLicenseContextDefault implementation of anILicenseContext.Methods in rs.baselib.licensing with parameters of type ILicenseContext Modifier and Type Method Description java.lang.StringILicenseCreator. createLicenseKey(ILicenseContext context, ILicense license)Generates a key from the given license.java.lang.StringLicenseGenerator. createLicenseKey(java.lang.Class<? extends ILicense> licenseClass, ILicenseContext context)Generates a license key using the given license class and context.java.lang.StringLicenseGenerator. createLicenseKey(ILicenseContext context)Generates a key using the given context.java.lang.StringLicenseGenerator. createLicenseKey(ILicenseContext context, ILicense license)Generates a key from the given license.voidDefaultLicense. init(ILicenseContext context)Initialize the license using the given context.voidILicense. init(ILicenseContext context)Initialize the license using the given context.voidSimpleLicense. init(ILicenseContext context)Initialize the license using the given context.protected java.lang.ObjectAbstractLicense. initProperty(java.lang.String key, ILicenseContext context)Initializes the given property from the context.voidDefaultLicense. verify(ILicenseContext context)Verify the license using the given contextvoidILicense. verify(ILicenseContext context)Verify the license using the given contextILicenseILicenseVerifier. verify(java.lang.String licenseKey, ILicenseContext context)Verifies the given license string.ILicenseLicenseManager. verify(java.lang.String licenseKey, ILicenseContext context)Verifies the given license string.voidSimpleLicense. verify(ILicenseContext context)Verify the license using the given contextprotected voidAbstractLicense. verifyEqualGreaterThan(java.lang.String key, ILicenseContext context, boolean failIfMissing)Verifies that the given value of this license is greater than or equal to the property in the context.protected voidAbstractLicense. verifyEqualLessThan(java.lang.String key, ILicenseContext context, boolean failIfMissing)Verifies that the given value of this license is less than or equal to the property in the context.protected voidAbstractLicense. verifyEquals(java.lang.String key, ILicenseContext context, boolean failIfMissing)Verifies that the given value of this license is equal to the property in the context.protected voidAbstractLicense. verifyGreaterThan(java.lang.String key, ILicenseContext context, boolean failIfMissing)Verifies that the given value of this license is greater than the property in the context.protected voidAbstractLicense. verifyLessThan(java.lang.String key, ILicenseContext context, boolean failIfMissing)Verifies that the given value of this license is less than the property in the context. -
Uses of ILicenseContext in rs.baselib.licensing.internal
Methods in rs.baselib.licensing.internal with parameters of type ILicenseContext Modifier and Type Method Description java.lang.StringOctetLicenseCreator. createLicenseKey(ILicenseContext context, ILicense license)Generates a key from the given license.java.lang.StringRsaLicenseCreator. createLicenseKey(ILicenseContext context, ILicense license)Generates a key from the given license.protected byte[]RsaLicenseVerifier. decrypt(ILicenseContext context, byte[] bytes)Decrypts the bytes.protected byte[]RsaLicenseCreator. encrypt(ILicenseContext context, byte[] bytes)Encrypts the given bytes.protected byte[]OctetLicenseCreator. sign(ILicenseContext context, byte[] bytes)Signs the given byte array.protected booleanOctetLicenseVerifier. verify(byte[] signature, SimpleLicense license, ILicenseContext context)Verifies the signatureILicenseOctetLicenseVerifier. verify(java.lang.String licenseKey, ILicenseContext context)Verifies the given license string.ILicenseRsaLicenseVerifier. verify(java.lang.String licenseKey, ILicenseContext context)Verifies the given license string.