pub struct Recipient(/* private fields */);
Expand description
The standard age recipient type. Files encrypted to this recipient can be decrypted
with the corresponding Identity
.
This recipient type is anonymous, in the sense that an attacker can’t tell from the age-encrypted file alone if it is encrypted to a certain recipient.
Trait Implementations§
source§impl PartialEq for Recipient
impl PartialEq for Recipient
source§impl Recipient for Recipient
impl Recipient for Recipient
source§fn wrap_file_key(&self, file_key: &FileKey) -> Result<Vec<Stanza>, EncryptError>
fn wrap_file_key(&self, file_key: &FileKey) -> Result<Vec<Stanza>, EncryptError>
Wraps the given file key, returning stanzas to be placed in an age file header. Read more
impl Eq for Recipient
impl StructuralPartialEq for Recipient
Auto Trait Implementations§
impl RefUnwindSafe for Recipient
impl Send for Recipient
impl Sync for Recipient
impl Unpin for Recipient
impl UnwindSafe for Recipient
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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