[−][src]Trait pgp::types::KeyTrait
Required methods
fn fingerprint(&self) -> Vec<u8>
fn key_id(&self) -> KeyId
Returns the Key ID of the associated primary key.
fn algorithm(&self) -> PublicKeyAlgorithm
Provided methods
fn is_signing_key(&self) -> bool
fn is_encryption_key(&self) -> bool
Implementations on Foreign Types
impl<'a, T: KeyTrait> KeyTrait for &'a T
[src]
fn fingerprint(&self) -> Vec<u8>
[src]
fn key_id(&self) -> KeyId
[src]
Returns the Key ID of the associated primary key.
fn algorithm(&self) -> PublicKeyAlgorithm
[src]
Implementors
impl KeyTrait for PublicOrSecret
[src]
fn fingerprint(&self) -> Vec<u8>
[src]
Returns the fingerprint of the key.
fn key_id(&self) -> KeyId
[src]
Returns the Key ID of the key.
fn algorithm(&self) -> PublicKeyAlgorithm
[src]
impl KeyTrait for pgp::composed::key::PublicKey
[src]
fn fingerprint(&self) -> Vec<u8>
[src]
fn key_id(&self) -> KeyId
[src]
fn algorithm(&self) -> PublicKeyAlgorithm
[src]
impl KeyTrait for pgp::composed::key::PublicSubkey
[src]
fn fingerprint(&self) -> Vec<u8>
[src]
fn key_id(&self) -> KeyId
[src]
fn algorithm(&self) -> PublicKeyAlgorithm
[src]
impl KeyTrait for pgp::composed::key::SecretKey
[src]
fn fingerprint(&self) -> Vec<u8>
[src]
fn key_id(&self) -> KeyId
[src]
fn algorithm(&self) -> PublicKeyAlgorithm
[src]
impl KeyTrait for pgp::composed::key::SecretSubkey
[src]
fn fingerprint(&self) -> Vec<u8>
[src]
fn key_id(&self) -> KeyId
[src]
fn algorithm(&self) -> PublicKeyAlgorithm
[src]
impl KeyTrait for SignedPublicKey
[src]
fn fingerprint(&self) -> Vec<u8>
[src]
fn key_id(&self) -> KeyId
[src]
fn algorithm(&self) -> PublicKeyAlgorithm
[src]
impl KeyTrait for SignedPublicSubKey
[src]
fn fingerprint(&self) -> Vec<u8>
[src]
Returns the fingerprint of the key.
fn key_id(&self) -> KeyId
[src]
Returns the Key ID of the key.
fn algorithm(&self) -> PublicKeyAlgorithm
[src]
impl KeyTrait for SignedSecretKey
[src]
fn fingerprint(&self) -> Vec<u8>
[src]
Returns the fingerprint of the associated primary key.
fn key_id(&self) -> KeyId
[src]
Returns the Key ID of the associated primary key.
fn algorithm(&self) -> PublicKeyAlgorithm
[src]
impl KeyTrait for SignedSecretSubKey
[src]
fn fingerprint(&self) -> Vec<u8>
[src]
Returns the fingerprint of the key.
fn key_id(&self) -> KeyId
[src]
Returns the Key ID of the key.
fn algorithm(&self) -> PublicKeyAlgorithm
[src]
impl KeyTrait for pgp::packet::PublicKey
[src]
fn fingerprint(&self) -> Vec<u8>
[src]
Returns the fingerprint of this key.
fn key_id(&self) -> KeyId
[src]
fn algorithm(&self) -> PublicKeyAlgorithm
[src]
impl KeyTrait for pgp::packet::PublicSubkey
[src]
fn fingerprint(&self) -> Vec<u8>
[src]
Returns the fingerprint of this key.
fn key_id(&self) -> KeyId
[src]
fn algorithm(&self) -> PublicKeyAlgorithm
[src]
impl KeyTrait for pgp::packet::SecretKey
[src]
fn fingerprint(&self) -> Vec<u8>
[src]
Returns the fingerprint of this key.
fn key_id(&self) -> KeyId
[src]
fn algorithm(&self) -> PublicKeyAlgorithm
[src]
impl KeyTrait for pgp::packet::SecretSubkey
[src]
fn fingerprint(&self) -> Vec<u8>
[src]
Returns the fingerprint of this key.