Class LicenseUtil
java.lang.Object
com.aquima.interactions.foundation.lic.LicenseUtil
Utility class to decrypt an input stream to an output stream.
- Since:
- 5.1
- Author:
- Jon van Leuven
-
Method Summary
Modifier and TypeMethodDescriptionstatic LicenseContext
static void
deserializeLicense
(InputStream input, OutputStream output) This method decrypts the input stream and writes the result to the output stream.
-
Method Details
-
deserializeLicense
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
-