[][src]Module sequoia_openpgp::serialize

OpenPGP packet serializer.

There are two interfaces to serialize OpenPGP data. Which one is applicable depends on whether or not the packet structure is already assembled in memory, with all information already in place (e.g. because it was parsed).

If it is, you can use the Serialize or SerializeInto trait. Otherwise, please use our streaming serialization interface.

Modules

padding

Padding for OpenPGP messages.

stream

Streaming packet serialization.

writer

Stackable writers.

Structs

TSK

A reference to a Cert that allows serialization of secret keys.

Traits

Marshal

Serializes OpenPGP data structures.

MarshalInto

Serializes OpenPGP data structures into pre-allocated buffers.

Serialize

Serializes OpenPGP data structures.

SerializeInto

Serializes OpenPGP data structures into pre-allocated buffers.