Trait openpgp_card::crypto_data::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§
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