Struct gpgme::keys::Key [] [src]

pub struct Key {
    // some fields omitted
}

Methods

impl Key

fn is_secret(&self) -> bool

fn is_qualified(&self) -> bool

fn is_invalid(&self) -> bool

fn is_disabled(&self) -> bool

fn is_revoked(&self) -> bool

fn is_expired(&self) -> bool

fn can_encrypt(&self) -> bool

fn can_sign(&self) -> bool

fn can_certify(&self) -> bool

fn can_authenticate(&self) -> bool

fn id(&self) -> StrResult

fn fingerprint(&self) -> StrResult

fn key_list_mode(&self) -> KeyListMode

fn protocol(&self) -> Protocol

fn owner_trust(&self) -> Validity

fn issuer_serial(&self) -> StrResult

fn issuer_name(&self) -> StrResult

fn chain_id(&self) -> StrResult

fn primary_key(&self) -> Option<SubKey>

fn user_ids(&self) -> UserIdIter

fn subkeys(&self) -> SubKeyIter

Trait Implementations

impl Drop for Key

fn drop(&mut self)

impl Clone for Key

fn clone(&self) -> Key

1.0.0fn clone_from(&mut self, source: &Self)

impl Wrapper for Key

type Raw = gpgme_key_t

unsafe fn from_raw(raw: gpgme_key_t) -> Key

fn as_raw(&self) -> gpgme_key_t

fn into_raw(self) -> Self::Raw where Self: Sized

Derived Implementations

impl Debug for Key

fn fmt(&self, __arg_0: &mut Formatter) -> Result