Package org.zkoss.zkex.license
Interface LicenseCreator
-
- All Superinterfaces:
java.rmi.Remote
- All Known Implementing Classes:
LicenseManager
public interface LicenseCreator extends java.rmi.RemoteProvides remote license creation services.- Version:
- $Id$
- Author:
- Christian Schlichtherle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]create(LicenseContent content)Initializes and validates the license content, creates a new signed license certificate for it and compresses, encrypts and returns it as a license key.
-
-
-
Method Detail
-
create
byte[] create(LicenseContent content) throws java.lang.Exception
Initializes and validates the license content, creates a new signed license certificate for it and compresses, encrypts and returns it as a license key.As a side effect, the given license
contentmay be initialized with some reasonable defaults unless the respective properties have already been set.- Parameters:
content- The license content - may not benull.- Returns:
- 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.
-
-