Interface LicenseCreator

All Superinterfaces:
Remote
All Known Implementing Classes:
LicenseManager

public interface LicenseCreator extends Remote
Provides remote license creation services.
Version:
$Id$
Author:
Christian Schlichtherle
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    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

      byte[] create(LicenseContent content) throws 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 content may be initialized with some reasonable defaults unless the respective properties have already been set.

      Parameters:
      content - The license content - may not be null.
      Returns:
      The license key - null is never returned.
      Throws:
      Exception - An instance of a subclass of this class for various reasons. Note that you should always use Throwable.getLocalizedMessage() to get a (possibly localized) meaningful detail message.