xrpld
Loading...
Searching...
No Matches
xrpl::ConfidentialRecipient Struct Reference

Bundles an ElGamal public key with its associated encrypted amount. More...

#include <ConfidentialTransfer.h>

Collaboration diagram for xrpl::ConfidentialRecipient:

Public Attributes

Slice publicKey
 The recipient's ElGamal public key (size=xrpl::kEcPubKeyLength).
Slice encryptedAmount
 The encrypted amount ciphertext (size=xrpl::kEcGamalEncryptedTotalLength).

Detailed Description

Bundles an ElGamal public key with its associated encrypted amount.

Used to represent a recipient in confidential transfers, containing both the recipient's ElGamal public key and the ciphertext encrypting the transfer amount under that key.

Definition at line 30 of file include/xrpl/protocol/ConfidentialTransfer.h.

Member Data Documentation

◆ publicKey

Slice xrpl::ConfidentialRecipient::publicKey

The recipient's ElGamal public key (size=xrpl::kEcPubKeyLength).

Definition at line 33 of file include/xrpl/protocol/ConfidentialTransfer.h.

◆ encryptedAmount

Slice xrpl::ConfidentialRecipient::encryptedAmount

The encrypted amount ciphertext (size=xrpl::kEcGamalEncryptedTotalLength).

Definition at line 39 of file include/xrpl/protocol/ConfidentialTransfer.h.