pub struct TranscryptionInfo {
pub pseudonym: PseudonymizationInfo,
pub attribute: AttributeRekeyInfo,
}Expand description
The information required for transcryption, containing both pseudonymization info and attribute rekey info.
Fields§
§pseudonym: PseudonymizationInfo§attribute: AttributeRekeyInfoImplementations§
Source§impl TranscryptionInfo
impl TranscryptionInfo
Sourcepub fn new(
domain_from: &PseudonymizationDomain,
domain_to: &PseudonymizationDomain,
session_from: &EncryptionContext,
session_to: &EncryptionContext,
pseudonymization_secret: &PseudonymizationSecret,
encryption_secret: &EncryptionSecret,
) -> Self
pub fn new( domain_from: &PseudonymizationDomain, domain_to: &PseudonymizationDomain, session_from: &EncryptionContext, session_to: &EncryptionContext, pseudonymization_secret: &PseudonymizationSecret, encryption_secret: &EncryptionSecret, ) -> Self
Compute the transcryption info given pseudonymization domains, sessions and secrets.
Trait Implementations§
Source§impl Clone for TranscryptionInfo
impl Clone for TranscryptionInfo
Source§fn clone(&self) -> TranscryptionInfo
fn clone(&self) -> TranscryptionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TranscryptionInfo
Source§impl Debug for TranscryptionInfo
impl Debug for TranscryptionInfo
impl Eq for TranscryptionInfo
Source§impl PartialEq for TranscryptionInfo
impl PartialEq for TranscryptionInfo
Source§fn eq(&self, other: &TranscryptionInfo) -> bool
fn eq(&self, other: &TranscryptionInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TranscryptionInfo
Auto Trait Implementations§
impl Freeze for TranscryptionInfo
impl RefUnwindSafe for TranscryptionInfo
impl Send for TranscryptionInfo
impl Sync for TranscryptionInfo
impl Unpin for TranscryptionInfo
impl UnsafeUnpin for TranscryptionInfo
impl UnwindSafe for TranscryptionInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more