Class ExportUtilR12
java.lang.Object
com.aquima.interactions.ds.export.r12.ExportUtilR12
Deprecated, for removal: This API element is subject to removal in a future version.
use com.aquima.interactions.ds.export.r17.ExportUtilR12
Utility class for decrypting/encrypting and signing/validating of exports.
Will be removed in R19
- Since:
- 12.0
- Author:
- Danny Roest, Vincent Jansen
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputStream
Deprecated, for removal: This API element is subject to removal in a future version.Decrypts and unzips the data and put it in an inputstream.static void
Deprecated, for removal: This API element is subject to removal in a future version.Validates the data with the specified signature.static void
Deprecated, for removal: This API element is subject to removal in a future version.Validates the data with the specified signature.
-
Method Details
-
decrypt
Deprecated, for removal: This API element is subject to removal in a future version.Decrypts and unzips the data and put it in an inputstream.- Parameters:
data
- the data to decrypt- Returns:
- an inputstream where the decrypted data is ont
- Throws:
CryptoGraphicException
- when the data cannot be encryptedIOException
- when the message cannot be unzipped
-
validate
Deprecated, for removal: This API element is subject to removal in a future version.Validates the data with the specified signature.- Parameters:
data
- the data to validatesignature
- the signature for the data- Throws:
CryptoGraphicException
- when the data is not valid with the signature
-
validate
Deprecated, for removal: This API element is subject to removal in a future version.Validates the data with the specified signature.- Parameters:
envelope
- the envelope containing the payload and signature- Throws:
CryptoGraphicException
- when the data is not valid with the signature
-