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§
Sourcefn private_key(&self) -> Result<PrivateKeyMaterial, Error>
fn private_key(&self) -> Result<PrivateKeyMaterial, Error>
private key data
Sourcefn timestamp(&self) -> KeyGenerationTime
fn timestamp(&self) -> KeyGenerationTime
timestamp of (sub)key creation
Sourcefn fingerprint(&self) -> Result<Fingerprint, Error>
fn fingerprint(&self) -> Result<Fingerprint, Error>
fingerprint