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]
impl _gpgme_key
pub fn revoked(&self) -> bool
[src]
pub fn revoked(&self) -> bool
pub fn expired(&self) -> bool
[src]
pub fn expired(&self) -> bool
pub fn disabled(&self) -> bool
[src]
pub fn disabled(&self) -> bool
pub fn invalid(&self) -> bool
[src]
pub fn invalid(&self) -> bool
pub fn can_encrypt(&self) -> bool
[src]
pub fn can_encrypt(&self) -> bool
pub fn can_sign(&self) -> bool
[src]
pub fn can_sign(&self) -> bool
pub fn can_certify(&self) -> bool
[src]
pub fn can_certify(&self) -> bool
pub fn secret(&self) -> bool
[src]
pub fn secret(&self) -> bool
pub fn can_authenticate(&self) -> bool
[src]
pub fn can_authenticate(&self) -> bool
pub fn is_qualified(&self) -> bool
[src]
pub fn is_qualified(&self) -> bool
pub fn origin(&self) -> u32
[src]
pub fn origin(&self) -> u32
Trait Implementations
impl Copy for _gpgme_key
[src]
impl Copy for _gpgme_key
impl Clone for _gpgme_key
[src]
impl Clone for _gpgme_key
fn clone(&self) -> _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[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !Send for _gpgme_key
impl !Send for _gpgme_key
impl !Sync for _gpgme_key
impl !Sync for _gpgme_key