Struct gpgme_sys::_gpgme_subkey [] [src]

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,
    // some fields omitted
}

Fields

next
bitfield
pubkey_algo
length
keyid
fpr
timestamp
expires
card_number
curve

Methods

impl _gpgme_subkey

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

Trait Implementations

Derived Implementations

impl Clone for _gpgme_subkey

fn clone(&self) -> _gpgme_subkey

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