[][src]Trait sequoia_openpgp::serialize::SerializeKey

pub trait SerializeKey {
    fn serialize<W: Write>(&self, o: &mut W, tag: Tag) -> Result<()>;
}

Key packet serialization.

This interface serializes key packets.

Required methods

fn serialize<W: Write>(&self, o: &mut W, tag: Tag) -> Result<()>

Writes a serialized version of the key packet to o.

Tag identifies the kind of packet to write.

Loading content...

Implementors

impl SerializeKey for Key[src]

Loading content...