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)
Tuple Fields
0: AED1
AED packet version 1.
Implementations
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.
Gets the initialization vector for the AEAD algorithm.
Methods from Deref<Target = Container>
Returns a reference to this Packet’s children.
Returns None
if the body is not structured.
Returns a mutable reference to this Packet’s children.
Returns None
if the body is not structured.
Returns an iterator over the packet’s descendants. The descendants are visited in depth-first order.
Returns None
if the body is not structured.
Returns an iterator over the packet’s immediate children.
Returns None
if the body is not structured.
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