Class EncryptedCallDescriptor

java.lang.Object
net.finmath.decryptionoracle.execution.dto.EncryptedCallDescriptor

public class EncryptedCallDescriptor extends Object
Java counterpart to the Solidity struct EncryptedCallDescriptor: struct EncryptedCallDescriptor { bytes32 publicKeyId; bytes ciphertext; }
Author:
Christian Fries
  • Constructor Details

    • EncryptedCallDescriptor

      public EncryptedCallDescriptor(byte[] publicKeyId, byte[] ciphertext)
      Construct encrypted call descriptor from arguments.
      Parameters:
      publicKeyId - Hint for the public key.
      ciphertext - Encryption call descriptor.
  • Method Details

    • getPublicKeyId

      public byte[] getPublicKeyId()
      Get the public key id - a hint for the public key.
      Returns:
      the public key id - a hint for the public key
    • getCiphertext

      public byte[] getCiphertext()
      Get the encryption call descriptor.
      Returns:
      encryption call descriptor