Struct gpgme::keys::Key
[−]
[src]
pub struct Key(_);
Methods
impl Key
[src]
unsafe fn from_raw(raw: gpgme_key_t) -> Self
fn as_raw(&self) -> gpgme_key_t
fn into_raw(self) -> gpgme_key_t
fn is_revoked(&self) -> bool
fn is_expired(&self) -> bool
fn is_disabled(&self) -> bool
fn is_invalid(&self) -> bool
fn can_encrypt(&self) -> bool
fn can_sign(&self) -> bool
fn can_certify(&self) -> bool
fn can_authenticate(&self) -> bool
fn is_qualified(&self) -> bool
fn has_secret(&self) -> bool
fn is_root(&self) -> bool
fn owner_trust(&self) -> Validity
fn protocol(&self) -> Protocol
fn issuer_serial(&self) -> Result<&str, Option<Utf8Error>>
fn issuer_serial_raw(&self) -> Option<&CStr>
fn issuer_name(&self) -> Result<&str, Option<Utf8Error>>
fn issuer_name_raw(&self) -> Option<&CStr>
fn chain_id(&self) -> Result<&str, Option<Utf8Error>>
fn chain_id_raw(&self) -> Option<&CStr>
fn id(&self) -> Result<&str, Option<Utf8Error>>
fn id_raw(&self) -> Option<&CStr>
fn short_id(&self) -> Result<&str, Option<Utf8Error>>
fn short_id_raw(&self) -> Option<&CStr>
fn fingerprint(&self) -> Result<&str, Option<Utf8Error>>
fn fingerprint_raw(&self) -> Option<&CStr>
fn key_list_mode(&self) -> KeyListMode
fn primary_key(&self) -> Option<Subkey>
fn user_ids(&self) -> UserIds
fn subkeys(&self) -> Subkeys
fn updated(&self) -> Result<Key>
Trait Implementations
impl Send for Key
[src]
impl Sync for Key
[src]
impl Drop for Key
[src]
impl Clone for Key
[src]
fn clone(&self) -> Key
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