public class RsaLicenseVerifier extends Object implements ILicenseVerifier
| Constructor and Description |
|---|
RsaLicenseVerifier()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
decrypt(ILicenseContext context,
byte[] bytes)
Decrypts the bytes.
|
ILicense |
verify(String licenseKey,
ILicenseContext context)
Verifies the given license string.
|
public ILicense verify(String licenseKey, ILicenseContext context)
verify in interface ILicenseVerifierlicenseKey - the license stringcontext - the verification contextprotected byte[] decrypt(ILicenseContext context, byte[] bytes) throws GeneralSecurityException, IOException
bytes - bytes to be decryptedDecryptionExceptionGeneralSecurityExceptionIOExceptionCopyright © 2014. All rights reserved.