CardUploadableKey

Trait CardUploadableKey 

Source
pub trait CardUploadableKey {
    // Required methods
    fn private_key(&self) -> Result<PrivateKeyMaterial, Error>;
    fn timestamp(&self) -> KeyGenerationTime;
    fn fingerprint(&self) -> Result<Fingerprint, Error>;
}
Expand description

A PGP-implementation-agnostic wrapper for private key data, to upload to an OpenPGP card

Required Methods§

Source

fn private_key(&self) -> Result<PrivateKeyMaterial, Error>

private key data

Source

fn timestamp(&self) -> KeyGenerationTime

timestamp of (sub)key creation

Source

fn fingerprint(&self) -> Result<Fingerprint, Error>

fingerprint

Implementors§