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
Otherwise, please use our streaming serialization interface.
Streaming packet serialization.
A reference to a TPK that allows serialization of secret keys.
References packet bodies.
Serializes OpenPGP data structures.
Serializes OpenPGP data structures into pre-allocated buffers.