[][src]Struct sequoia_openpgp::cert::KeyAmalgamation

pub struct KeyAmalgamation<'a, P: KeyParts>(_);

A Key and its associated data.

Methods

impl<'a, P: 'a + KeyParts> KeyAmalgamation<'a, P>[src]

pub fn key(&self) -> &'a Key<P, UnspecifiedRole> where
    &'a Key<P, UnspecifiedRole>: From<&'a Key<PublicParts, PrimaryRole>>, 
[src]

Returns the key.

pub fn binding_signature<T>(&self, t: T) -> Option<&'a Signature> where
    T: Into<Option<SystemTime>>, 
[src]

Returns the key's binding signature at time t, if any.

pub fn revoked<T>(&self, t: T) -> RevocationStatus<'a> where
    T: Into<Option<SystemTime>>, 
[src]

Returns the key's revocation status at time t.

Trait Implementations

impl<'a, P> From<(&'a Cert, &'a ComponentBinding<Key<P, PrimaryRole>>)> for KeyAmalgamation<'a, P> where
    P: KeyParts
[src]

impl<'a, P> From<(&'a Cert, &'a ComponentBinding<Key<P, SubordinateRole>>)> for KeyAmalgamation<'a, P> where
    P: KeyParts
[src]

impl<'a> From<KeyAmalgamation<'a, PublicParts>> for KeyAmalgamation<'a, UnspecifiedParts>[src]

impl<'a> From<KeyAmalgamation<'a, SecretParts>> for KeyAmalgamation<'a, PublicParts>[src]

impl<'a, P: Debug + KeyParts> Debug for KeyAmalgamation<'a, P>[src]

impl<'a> TryFrom<KeyAmalgamation<'a, PublicParts>> for KeyAmalgamation<'a, SecretParts>[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'a, P> Send for KeyAmalgamation<'a, P> where
    P: Sync

impl<'a, P> Sync for KeyAmalgamation<'a, P> where
    P: Sync

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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<V, T> VZip for T where
    V: MultiLane<T>,