[][src]Module sequoia_openpgp::packet

Packet-related types.

See Section 4 of RFC 4880 for more details.

Re-exports

pub use self::header::Header;
pub use self::user_attribute::UserAttribute;

Modules

aed

AEAD encrypted data packets.

ctb

Cipher Type Byte.

header

OpenPGP Header.

key

Public key, public subkey, private key and private subkey packets. Key variants.

one_pass_sig

One-pass signature packets.

pkesk

PublicKey-Encrypted Session Key packets.

prelude

Conveniently re-exports everything below openpgp::packet.

seip

Symmetrically Encrypted Integrity Protected data packets.

signature

Types for signatures.

skesk

Symmetric-Key Encrypted Session Key Packets.

user_attribute

User Attribute packets and subpackets.

Structs

Common

Fields used by multiple packet types.

CompressedData

Holds a compressed data packet.

Container

Holds zero or more OpenPGP packets.

Features

Describes features supported by an OpenPGP implementation.

KeyFlags

Describes how a key may be used, and stores additional information.

KeyServerPreferences

Describes preferences regarding key servers.

Literal

Holds a literal packet.

MDC

Holds an MDC packet.

Marker

Holds a Marker packet.

PacketIter

A PacketIter iterates over the contents of a packet in depth-first order. It starts by returning the current packet.

PacketPathIter

Like enumerate, this augments the packet returned by a PacketIter with its Path.

Trust

Holds a Trust packet.

Unknown

Holds an unknown packet.

UserID

Holds a UserID packet.

Enums

AED

Holds an AEAD encrypted data packet.

BodyLength

The size of a packet.

Key

Holds a public key, public subkey, private key or private subkey packet.

OnePassSig

Holds a one-pass signature packet.

PKESK

Holds an asymmetrically encrypted session key.

SEIP

Holds an encrypted data packet.

SKESK

Holds an symmetrically encrypted session key.

Signature

Holds a signature packet.

Tag

The OpenPGP packet tags as defined in Section 4.3 of RFC 4880.