Class KeyVerification
java.lang.Object
net.finmath.decryptionoracle.decryption.keys.KeyVerification
Key verification result consisting of contract, transaction and hashed key H(K).
- Author:
- Christian Fries
-
Constructor Summary
ConstructorsConstructorDescriptionKeyVerification(String contract, byte[] transaction, byte[] hashedKey) Constructor for KeyVerification. -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldcontract.byte[]Getter for the fieldhashedKey.byte[]Getter for the fieldtransaction.
-
Constructor Details
-
KeyVerification
Constructor for KeyVerification.
- Parameters:
contract- aStringobjecttransaction- an array of bytes objectshashedKey- an array of bytes objects
-
-
Method Details
-
getContract
Getter for the field
contract.- Returns:
- a
Stringobject
-
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
-