Struct gpgme_sys::_gpgme_key
[−]
[src]
#[repr(C)]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, pub fpr: *mut c_char, pub last_update: c_ulong, // some fields omitted }
Fields
bitfield: u32
protocol: gpgme_protocol_t
issuer_serial: *mut c_char
issuer_name: *mut c_char
chain_id: *mut c_char
owner_trust: gpgme_validity_t
subkeys: gpgme_subkey_t
uids: gpgme_user_id_t
keylist_mode: gpgme_keylist_mode_t
fpr: *mut c_char
last_update: c_ulong
Methods
impl _gpgme_key
[src]
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
fn origin(&self) -> u32
Trait Implementations
impl Copy for _gpgme_key
[src]
impl Clone for _gpgme_key
[src]
fn clone(&self) -> _gpgme_key
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more