[][src]Module sequoia_openpgp::packet

Packet-related types.

See Section 4 of RFC 4880 for more details.

Re-exports

pub use self::signature::Signature;
pub use self::key::Key;

Modules

ctb

Cipher Type Byte.

key

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

signature

Types for signatures.

Structs

AED

Holds an AEAD encrypted data packet.

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.

Header

An OpenPGP packet's header.

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.

OnePassSig

Holds a one-pass signature packet.

PKESK

Holds an asymmetrically encrypted session key.

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.

SEIP

Holds an encrypted data packet.

SKESK4

Holds an symmetrically encrypted session key version 4.

SKESK5

Holds an symmetrically encrypted session key version 5.

Unknown

Holds an unknown packet.

UserAttribute

Holds a UserAttribute packet.

UserID

Holds a UserID packet.

Enums

BodyLength

The size of a packet.

SKESK

Holds an symmetrically encrypted session key.

Tag

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