pub struct SymmetricallyEncryptedDataPacket {
pub encrypted_data: Vec<u8>,
}Expand description
Parsed Symmetrically Encrypted Data packet.
This is the legacy encryption format without integrity protection. The encrypted data is in OpenPGP CFB mode.
Fields§
§encrypted_data: Vec<u8>The encrypted data (includes random prefix and encrypted content).
Trait Implementations§
Source§impl Clone for SymmetricallyEncryptedDataPacket
impl Clone for SymmetricallyEncryptedDataPacket
Source§fn clone(&self) -> SymmetricallyEncryptedDataPacket
fn clone(&self) -> SymmetricallyEncryptedDataPacket
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 moreAuto Trait Implementations§
impl Freeze for SymmetricallyEncryptedDataPacket
impl RefUnwindSafe for SymmetricallyEncryptedDataPacket
impl Send for SymmetricallyEncryptedDataPacket
impl Sync for SymmetricallyEncryptedDataPacket
impl Unpin for SymmetricallyEncryptedDataPacket
impl UnsafeUnpin for SymmetricallyEncryptedDataPacket
impl UnwindSafe for SymmetricallyEncryptedDataPacket
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