Struct pgp::packet::SymEncryptedProtectedData [−][src]
pub struct SymEncryptedProtectedData { /* fields omitted */ }
Expand description
Symmetrically Encrypted Integrity Protected Data Packet https://tools.ietf.org/html/rfc4880.html#section-5.12
Implementations
Parses a SymEncryptedData
packet from the given slice.
Encrypts the data using the given symmetric key.
Same as encrypt_with_rng
, but uses thread_rng
for RNG.
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SymEncryptedProtectedData
impl Send for SymEncryptedProtectedData
impl Sync for SymEncryptedProtectedData
impl Unpin for SymEncryptedProtectedData
impl UnwindSafe for SymEncryptedProtectedData
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self