Interface LicenseVerifier

All Superinterfaces:
Remote
All Known Implementing Classes:
LicenseManager

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

    Modifier and Type
    Method
    Description
    verify(byte[] key)
    Decrypts, decompresses, decodes and verifies the given license key, validates its license content and returns it.
  • Method Details

    • verify

      LicenseContent verify(byte[] key) throws Exception
      Decrypts, decompresses, decodes and verifies the given license key, validates its license content and returns it.
      Parameters:
      key - The license key - may not be null.
      Returns:
      A clone of the verified and validated content of 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.