Trait openpgp_card::crypto_data::CardUploadableKey
source · [−]pub trait CardUploadableKey {
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
fn private_key(&self) -> Result<PrivateKeyMaterial, Error>
fn private_key(&self) -> Result<PrivateKeyMaterial, Error>
private key data
fn timestamp(&self) -> KeyGenerationTime
fn timestamp(&self) -> KeyGenerationTime
timestamp of (sub)key creation
fn fingerprint(&self) -> Result<Fingerprint, Error>
fn fingerprint(&self) -> Result<Fingerprint, Error>
fingerprint