[][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: Debug + KeyParts> Debug for KeyAmalgamation<'a, P>[src]

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> 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> !RefUnwindSafe for KeyAmalgamation<'a, P>

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

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

impl<'a, P> Unpin for KeyAmalgamation<'a, P>

impl<'a, P> !UnwindSafe for KeyAmalgamation<'a, P>

Blanket Implementations

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

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

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

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

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

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