Interface LicenseVerifier

  • All Superinterfaces:
    java.rmi.Remote
    All Known Implementing Classes:
    LicenseManager

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

      • verify

        LicenseContent verify​(byte[] key)
                       throws java.lang.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:
        java.lang.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.