[][src]Module sequoia_openpgp::serialize

Packet serialization infrastructure.

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

stream

Streaming packet serialization.

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.