Struct openpgp_card_rpgp::UploadableKey 
source · pub struct UploadableKey { /* private fields */ }Expand description
OpenPGP secret key packet wrapped, to enable uploading to a card
Implementations§
Trait Implementations§
source§impl CardUploadableKey for UploadableKey
 
impl CardUploadableKey for UploadableKey
source§fn private_key(&self) -> Result<PrivateKeyMaterial, Error>
 
fn private_key(&self) -> Result<PrivateKeyMaterial, Error>
private key data
source§fn timestamp(&self) -> KeyGenerationTime
 
fn timestamp(&self) -> KeyGenerationTime
timestamp of (sub)key creation
source§fn fingerprint(&self) -> Result<Fingerprint, Error>
 
fn fingerprint(&self) -> Result<Fingerprint, Error>
fingerprint
source§impl From<SecretKey> for UploadableKey
 
impl From<SecretKey> for UploadableKey
source§impl From<SecretSubkey> for UploadableKey
 
impl From<SecretSubkey> for UploadableKey
source§fn from(value: SecretSubkey) -> Self
 
fn from(value: SecretSubkey) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UploadableKey
impl RefUnwindSafe for UploadableKey
impl Send for UploadableKey
impl Sync for UploadableKey
impl Unpin for UploadableKey
impl UnwindSafe for UploadableKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more