Enum sequoia_openpgp::packet::SEIP [−][src]
pub enum SEIP { V1(SEIP1), }
Expand description
Holds a SEIP packet.
A SEIP packet holds encrypted data. The data contains additional OpenPGP packets. See Section 5.13 of RFC 4880 for details.
A SEIP 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
.
Variants
V1(SEIP1)
SEIP packet version 1.
Implementations
Methods from Deref<Target = SEIP1>
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.
Writes a serialized version of the specified SEIP
packet to o
.
Errors
Returns Error::InvalidOperation
if this packet has children.
To construct an encrypted message, use
serialize::stream::Encryptor
.
Reads from the given reader.
Auto Trait Implementations
impl !RefUnwindSafe for SEIP
impl !UnwindSafe for SEIP
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self