Class DecryptPayloadOperation

All Implemented Interfaces:
Serializable, Block, Dumpable

public class DecryptPayloadOperation extends AbstractCryptPayloadOperation implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • DecryptPayloadOperation

      public DecryptPayloadOperation(int sourceBlock, int targetBlock, SymmetricKey key) throws IOException

      Constructor to create an decrypt operation.

      Parameters:
      sourceBlock - the ID of the source block in the workspace
      targetBlock - the ID of the target block in the workspace
      key - the key to be used for decryption
      Throws:
      IOException - if key generation fails when creating a new key
  • Method Details