Package org.zkoss.zkex.license
Interface LicenseVerifier
-
- All Superinterfaces:
java.rmi.Remote
- All Known Implementing Classes:
LicenseManager
public interface LicenseVerifier extends java.rmi.RemoteProvides remote license verification services.- Version:
- $Id$
- Author:
- Christian Schlichtherle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LicenseContentverify(byte[] key)Decrypts, decompresses, decodes and verifies the given license key, validates its license content and returns it.
-
-
-
Method Detail
-
verify
LicenseContent verify(byte[] key) throws java.lang.Exception
Decrypts, decompresses, decodes and verifies the given license key, validates its license content and returns it.- Parameters:
key- The license key - may not benull.- Returns:
- A clone of the verified and validated content of the license key
-
nullis never returned. - Throws:
java.lang.Exception- An instance of a subclass of this class for various reasons. Note that you should always useThrowable.getLocalizedMessage()to get a (possibly localized) meaningful detail message.
-
-