[][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 SerializeKey.

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 TPK that allows serialization of secret keys.

Enums

PacketRef

References packet bodies.

Traits

Serialize

Serializes OpenPGP data structures.

SerializeInto

Serializes OpenPGP data structures into pre-allocated buffers.