Class EncryptedCallDescriptor
java.lang.Object
net.finmath.decryptionoracle.execution.dto.EncryptedCallDescriptor
Java counterpart to the Solidity struct EncryptedCallDescriptor:
struct EncryptedCallDescriptor {
bytes32 publicKeyId;
bytes ciphertext;
}
- Author:
- Christian Fries
-
Constructor Summary
ConstructorsConstructorDescriptionEncryptedCallDescriptor(byte[] publicKeyId, byte[] ciphertext) Construct encrypted call descriptor from arguments. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Get the encryption call descriptor.byte[]Get the public key id - a hint for the public key.
-
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
-