pub struct ReencryptionRequest {
    pub capsules: Box<[Capsule]>,
    pub hrac: HRAC,
    pub encrypted_kfrag: EncryptedKeyFrag,
    pub publisher_verifying_key: PublicKey,
    pub bob_verifying_key: PublicKey,
}
Expand description

A request for an Ursula to reencrypt for several capsules.

Fields

capsules: Box<[Capsule]>

Capsules to re-encrypt.

hrac: HRAC

Policy HRAC.

encrypted_kfrag: EncryptedKeyFrag

Key frag encrypted for the Ursula.

publisher_verifying_key: PublicKey

Publisher’s verifying key.

bob_verifying_key: PublicKey

Recipient’s (Bob’s) verifying key.

Implementations

Creates a new reencryption request.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

supported by the current implementation.

Serializes the object.

Attempts to deserialize the object.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.