Class LicenseUtil

java.lang.Object
com.aquima.interactions.foundation.lic.LicenseUtil

public final class LicenseUtil extends Object
Utility class to decrypt an input stream to an output stream.
Since:
5.1
Author:
Jon van Leuven
  • Method Details

    • deserializeLicense

      public static void deserializeLicense(InputStream input, OutputStream output) throws IOException
      This method decrypts the input stream and writes the result to the output stream.
      Parameters:
      input - The input stream containing the encrypted text.
      output - The output stream where the decrypted text should be written to.
      Throws:
      CryptoGraphicException - This exception is thrown when the decryption of the input stream fails.
      IOException - This exception is thrown when either the input stream could not be read, or the output stream could not be written.
    • createContext

      public static LicenseContext createContext()