[][src]Struct vanity_gpg::gpg::Key

pub struct Key(_);

Upstream documentation: gpgme_key_t

Implementations

impl Key[src]

pub unsafe fn from_raw(raw: *mut _gpgme_key) -> Key[src]

pub fn as_raw(&self) -> *mut _gpgme_key[src]

pub fn into_raw(self) -> *mut _gpgme_key[src]

pub fn is_revoked(&self) -> bool[src]

pub fn is_expired(&self) -> bool[src]

pub fn is_disabled(&self) -> bool[src]

pub fn is_invalid(&self) -> bool[src]

pub fn can_encrypt(&self) -> bool[src]

pub fn can_sign(&self) -> bool[src]

pub fn can_certify(&self) -> bool[src]

pub fn can_authenticate(&self) -> bool[src]

pub fn is_qualified(&self) -> bool[src]

pub fn is_de_vs(&self) -> bool[src]

pub fn has_secret(&self) -> bool[src]

pub fn is_root(&self) -> bool[src]

pub fn owner_trust(&self) -> Validity[src]

pub fn protocol(&self) -> Protocol[src]

pub fn issuer_serial(&self) -> Result<&str, Option<Utf8Error>>[src]

pub fn issuer_serial_raw(&self) -> Option<&CStr>[src]

pub fn issuer_name(&self) -> Result<&str, Option<Utf8Error>>[src]

pub fn issuer_name_raw(&self) -> Option<&CStr>[src]

pub fn chain_id(&self) -> Result<&str, Option<Utf8Error>>[src]

pub fn chain_id_raw(&self) -> Option<&CStr>[src]

pub fn id(&self) -> Result<&str, Option<Utf8Error>>[src]

pub fn id_raw(&self) -> Option<&CStr>[src]

pub fn short_id(&self) -> Result<&str, Option<Utf8Error>>[src]

pub fn short_id_raw(&self) -> Option<&CStr>[src]

pub fn fingerprint(&self) -> Result<&str, Option<Utf8Error>>[src]

pub fn fingerprint_raw(&self) -> Option<&CStr>[src]

pub fn key_list_mode(&self) -> KeyListMode[src]

pub fn origin(&self) -> KeyOrigin[src]

pub fn primary_key(&self) -> Option<Subkey>[src]

pub fn user_ids(&self) -> UserIds[src]

pub fn subkeys(&self) -> Subkeys[src]

pub fn last_update(&self) -> SystemTime[src]

pub fn update(&mut self) -> Result<(), Error>[src]

pub fn updated(&self) -> Result<Key, Error>[src]

Trait Implementations

impl Clone for Key[src]

impl Debug for Key[src]

impl Drop for Key[src]

impl Send for Key[src]

impl Sync for Key[src]

Auto Trait Implementations

impl RefUnwindSafe for Key

impl Unpin for Key

impl UnwindSafe for Key

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Src, Scheme> ApproxFrom<Src, Scheme> for Src where
    Scheme: ApproxScheme, 

type Err = NoError

The error type produced by a failed conversion.

impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
    Dst: ApproxFrom<Src, Scheme>,
    Scheme: ApproxScheme, 

type Err = <Dst as ApproxFrom<Src, Scheme>>::Err

The error type produced by a failed conversion.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, Dst> ConvAsUtil<Dst> for T

impl<T> ConvUtil for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<Src> TryFrom<Src> for Src

type Err = NoError

The error type produced by a failed conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<Src, Dst> TryInto<Dst> for Src where
    Dst: TryFrom<Src>, 

type Err = <Dst as TryFrom<Src>>::Err

The error type produced by a failed conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<Src> ValueFrom<Src> for Src

type Err = NoError

The error type produced by a failed conversion.

impl<Src, Dst> ValueInto<Dst> for Src where
    Dst: ValueFrom<Src>, 

type Err = <Dst as ValueFrom<Src>>::Err

The error type produced by a failed conversion.