| Package | Description |
|---|---|
| rs.baselib.licensing |
Helper methods for licensing products.
|
| rs.baselib.licensing.internal |
Internal Licensing implementations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultLicenseContext
Default implementation of an
ILicenseContext. |
| Modifier and Type | Method and Description |
|---|---|
String |
LicenseGenerator.createLicenseKey(Class<? extends ILicense> licenseClass,
ILicenseContext context)
Generates a license key using the given license class and context.
|
String |
LicenseGenerator.createLicenseKey(ILicenseContext context)
Generates a key using the given context.
|
String |
LicenseGenerator.createLicenseKey(ILicenseContext context,
ILicense license)
Generates a key from the given license.
|
String |
ILicenseCreator.createLicenseKey(ILicenseContext context,
ILicense license)
Generates a key from the given license.
|
void |
ILicense.init(ILicenseContext context)
Initialize the license using the given context.
|
void |
DefaultLicense.init(ILicenseContext context)
Initialize the license using the given context.
|
void |
SimpleLicense.init(ILicenseContext context)
Initialize the license using the given context.
|
protected Object |
AbstractLicense.initProperty(String key,
ILicenseContext context)
Initializes the given property from the context.
|
void |
ILicense.verify(ILicenseContext context)
Verify the license using the given context
|
void |
DefaultLicense.verify(ILicenseContext context)
Verify the license using the given context
|
void |
SimpleLicense.verify(ILicenseContext context)
Verify the license using the given context
|
ILicense |
LicenseManager.verify(String licenseKey,
ILicenseContext context)
Verifies the given license string.
|
ILicense |
ILicenseVerifier.verify(String licenseKey,
ILicenseContext context)
Verifies the given license string.
|
protected void |
AbstractLicense.verifyEqualGreaterThan(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 void |
AbstractLicense.verifyEqualLessThan(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 void |
AbstractLicense.verifyEquals(String key,
ILicenseContext context,
boolean failIfMissing)
Verifies that the given value of this license is equal to the property in the context.
|
protected void |
AbstractLicense.verifyGreaterThan(String key,
ILicenseContext context,
boolean failIfMissing)
Verifies that the given value of this license is greater than the property in the context.
|
protected void |
AbstractLicense.verifyLessThan(String key,
ILicenseContext context,
boolean failIfMissing)
Verifies that the given value of this license is less than the property in the context.
|
| Modifier and Type | Method and Description |
|---|---|
String |
OctetLicenseCreator.createLicenseKey(ILicenseContext context,
ILicense license)
Generates a key from the given license.
|
String |
RsaLicenseCreator.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)
Signes the given byte array.
|
protected boolean |
OctetLicenseVerifier.verify(byte[] signature,
SimpleLicense license,
ILicenseContext context)
Verifies the signature
|
ILicense |
RsaLicenseVerifier.verify(String licenseKey,
ILicenseContext context)
Verifies the given license string.
|
ILicense |
OctetLicenseVerifier.verify(String licenseKey,
ILicenseContext context)
Verifies the given license string.
|
Copyright © 2014. All rights reserved.