Trait KeyDetails

Source
pub trait KeyDetails {
    // Required methods
    fn version(&self) -> KeyVersion;
    fn fingerprint(&self) -> Fingerprint;
    fn key_id(&self) -> KeyId;
    fn algorithm(&self) -> PublicKeyAlgorithm;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl KeyDetails for Box<&dyn SecretKeyTrait>

Source§

impl<T: KeyDetails> KeyDetails for &T

Source§

fn key_id(&self) -> KeyId

Returns the Key ID of the associated primary key.

Source§

fn version(&self) -> KeyVersion

Source§

fn fingerprint(&self) -> Fingerprint

Source§

fn algorithm(&self) -> PublicKeyAlgorithm

Implementors§