Struct gpgme::keys::SubKey [] [src]

pub struct SubKey<'a> {
    // some fields omitted
}

Methods

impl<'a> SubKey<'a>

unsafe fn from_raw<'b>(raw: gpgme_subkey_t) -> SubKey<'b>

fn raw(&self) -> gpgme_subkey_t

fn is_secret(&self) -> bool

fn is_cardkey(&self) -> bool

fn is_qualified(&self) -> bool

fn is_invalid(&self) -> bool

fn is_disabled(&self) -> bool

fn is_revoked(&self) -> bool

fn is_expired(&self) -> bool

fn can_encrypt(&self) -> bool

fn can_sign(&self) -> bool

fn can_certify(&self) -> bool

fn can_authenticate(&self) -> bool

fn id(&self) -> StrResult<'a>

fn fingerprint(&self) -> StrResult<'a>

fn algorithm(&self) -> KeyAlgorithm

fn length(&self) -> usize

fn timestamp(&self) -> Option<i64>

fn expires(&self) -> Option<i64>

fn card_number(&self) -> StrResult<'a>

fn curve(&self) -> StrResult<'a>

Trait Implementations

Derived Implementations

impl<'a> Clone for SubKey<'a>

fn clone(&self) -> SubKey<'a>

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

impl<'a> Copy for SubKey<'a>

impl<'a> Debug for SubKey<'a>

fn fmt(&self, __arg_0: &mut Formatter) -> Result