Struct gpgme_sys::_gpgme_key [] [src]

pub struct _gpgme_key {
    pub bitfield: u32,
    pub protocol: gpgme_protocol_t,
    pub issuer_serial: *mut c_char,
    pub issuer_name: *mut c_char,
    pub chain_id: *mut c_char,
    pub owner_trust: gpgme_validity_t,
    pub subkeys: gpgme_subkey_t,
    pub uids: gpgme_user_id_t,
    pub keylist_mode: gpgme_keylist_mode_t,
    // some fields omitted
}

Fields

bitfield
protocol
issuer_serial
issuer_name
chain_id
owner_trust
subkeys
uids
keylist_mode

Methods

impl _gpgme_key

fn revoked(&self) -> bool

fn expired(&self) -> bool

fn disabled(&self) -> bool

fn invalid(&self) -> bool

fn can_encrypt(&self) -> bool

fn can_sign(&self) -> bool

fn can_certify(&self) -> bool

fn secret(&self) -> bool

fn can_authenticate(&self) -> bool

fn is_qualified(&self) -> bool

Trait Implementations

Derived Implementations

impl Clone for _gpgme_key

fn clone(&self) -> _gpgme_key

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