[][src]Module sequoia_openpgp::serialize::stream

Streaming packet serialization.

This is the preferred interface to generate OpenPGP messages. It takes advantage of OpenPGP's streaming nature to avoid unnecessary buffering. This interface provides a convenient, yet low-level way to sign or encrypt.

See the encryption example.

Structs

ArbitraryWriter

Writes an arbitrary packet.

Compressor

Compresses a packet stream.

Encryptor

Encrypts a packet stream.

LiteralWriter

Writes a literal data packet.

Message

Streams an OpenPGP message.

Signer

Signs a packet stream.

Enums

EncryptionMode

Specifies whether to encrypt for archival purposes or for transport.