Struct gpgme_sys::_gpgme_subkey
[−]
[src]
#[repr(C)]pub struct _gpgme_subkey { pub next: gpgme_subkey_t, pub bitfield: u32, pub pubkey_algo: gpgme_pubkey_algo_t, pub length: c_uint, pub keyid: *mut c_char, pub fpr: *mut c_char, pub timestamp: c_long, pub expires: c_long, pub card_number: *mut c_char, pub curve: *mut c_char, pub keygrip: *mut c_char, // some fields omitted }
Fields
next: gpgme_subkey_t
bitfield: u32
pubkey_algo: gpgme_pubkey_algo_t
length: c_uint
keyid: *mut c_char
fpr: *mut c_char
timestamp: c_long
expires: c_long
card_number: *mut c_char
curve: *mut c_char
keygrip: *mut c_char
Methods
impl _gpgme_subkey
[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 is_cardkey(&self) -> bool
fn is_de_vs(&self) -> bool
Trait Implementations
impl Copy for _gpgme_subkey
[src]
impl Clone for _gpgme_subkey
[src]
fn clone(&self) -> _gpgme_subkey
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