Trait vanity_gpg::pgp_backends::Backend
source · [−]pub trait Backend {
fn fingerprint(&self) -> String;
fn shuffle(&mut self) -> Result<(), PGPError>;
fn get_armored_results(
self,
uid: &UserID
) -> Result<ArmoredKey, UniversalError>;
}
Expand description
Backend adaptor trait
Required Methods
fn fingerprint(&self) -> String
fn fingerprint(&self) -> String
Get the fingerprint of the key
fn get_armored_results(self, uid: &UserID) -> Result<ArmoredKey, UniversalError>
fn get_armored_results(self, uid: &UserID) -> Result<ArmoredKey, UniversalError>
Get armored secret key and public key