Class KeyVerification

java.lang.Object
net.finmath.decryptionoracle.decryption.keys.KeyVerification

public class KeyVerification extends Object
Key verification result consisting of contract, transaction and hashed key H(K).
Author:
Christian Fries
  • Constructor Details

    • KeyVerification

      public KeyVerification(String contract, byte[] transaction, byte[] hashedKey)

      Constructor for KeyVerification.

      Parameters:
      contract - a String object
      transaction - an array of bytes objects
      hashedKey - an array of bytes objects
  • Method Details

    • getContract

      public String getContract()

      Getter for the field contract.

      Returns:
      a String object
    • getTransaction

      public byte[] getTransaction()

      Getter for the field transaction.

      Returns:
      an array of bytes objects
    • getHashedKey

      public byte[] getHashedKey()

      Getter for the field hashedKey.

      Returns:
      an array of bytes objects