Class ExportUtilR12

java.lang.Object
com.aquima.interactions.ds.export.r12.ExportUtilR12

@Deprecated(forRemoval=true) public final class ExportUtilR12 extends Object
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 Type
    Method
    Description
    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
    validate(IEnvelope envelope)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Validates the data with the specified signature.
    static void
    validate(String data, String signature)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Validates the data with the specified signature.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • decrypt

      public static InputStream decrypt(String data) throws IOException
      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 encrypted
      IOException - when the message cannot be unzipped
    • validate

      public static void validate(String data, String signature)
      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 validate
      signature - the signature for the data
      Throws:
      CryptoGraphicException - when the data is not valid with the signature
    • validate

      public static void validate(IEnvelope envelope)
      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