Package org.zkoss.zkex.license
Interface LicenseCreator
- All Superinterfaces:
Remote
- All Known Implementing Classes:
LicenseManager
Provides remote license creation services.
- Version:
- $Id$
- Author:
- Christian Schlichtherle
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]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 Details
-
create
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:
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.
-