Enum sequoia_openpgp::packet::AED [−][src]
#[non_exhaustive]
pub enum AED {
V1(AED1),
}Expand description
Holds an AEAD encrypted data packet.
An AEAD packet holds encrypted data. It is contains additional OpenPGP packets. See Section 5.16 of RFC 4880bis for details.
Note: This enum cannot be exhaustively matched to allow future extensions.
An AEAD packet is not normally instantiated directly. In most
cases, you’ll create one as a side-effect of encrypting a message
using the streaming serializer, or parsing an encrypted message
using the PacketParser.
This feature is experimental.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
V1(AED1)AED packet version 1.
Tuple Fields of V1
0: AED1Implementations
Methods from Deref<Target = AED1>
Gets the symmetric algorithm.
Sets the symmetric algorithm.
Gets the AEAD algorithm.
Sets the AEAD algorithm.
Gets the chunk size.
Sets the chunk size.
Gets the size of a chunk with a digest.
Trait Implementations
Implement IntoIterator so that
cert::insert_packets(sig) just works.
Reads from the given reader.
Auto Trait Implementations
impl !RefUnwindSafe for AED
impl !UnwindSafe for AED
Blanket Implementations
Mutably borrows from an owned value. Read more