TrueLicense Core 1.33

de.schlichtherle.license
Interface LicenseCreator

All Superinterfaces:
Remote
All Known Implementing Classes:
LicenseManager, LicenseManager

public interface LicenseCreator
extends Remote

Provides remote license creation services.

Author:
Christian Schlichtherle

Method Summary
 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 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.

TrueLicense Core 1.33

Copyright © 2005-2015 Schlichtherle IT Services. All Rights Reserved.