Struct recrypt::api::TransformBlock[]

pub struct TransformBlock { /* fields omitted */ }

Describes a single transform. Multiple TransformBlocks (in series) describe multi-hop transforms.

Methods

impl TransformBlock

Construct TransformBlock from constituent parts.

  • public_key - public key corresponding to private key used to encrypt the temp key
  • encrypted_temp_key - random value generated for the transform key and encrypted to the delegatee. Copied from the parent TransformKey
  • random_transform_public_key - public key corresponding to the private key used to encrypt the random re-encryption encrypted_random_transform_temp_key
  • encrypted_random_transform_temp_key - encrypted temp key value. Used to go from the transformed value to the encrypted value

Trait Implementations

impl Debug for TransformBlock

Formats the value using the given formatter. Read more

impl Clone for TransformBlock

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for TransformBlock

Auto Trait Implementations