pub fn export_public_key( key: &ContactPublicKey, format: KeyFormat, ) -> Result<Vec<u8>, Error>
Exports a contact public key in the requested format.