pub struct ReencryptionRequest {
    pub capsules: Box<[Capsule]>,
    pub hrac: HRAC,
    pub encrypted_kfrag: EncryptedKeyFrag,
    pub publisher_verifying_key: PublicKey,
    pub bob_verifying_key: PublicKey,
    pub conditions: Option<Conditions>,
    pub context: Option<Context>,
}
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.

conditions: Option<Conditions>

A blob of bytes containing decryption conditions for this message.

context: Option<Context>

A blob of bytes containing context required to evaluate conditions.

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 !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.