[−][src]Struct sequoia_openpgp::cert::KeyAmalgamation
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]
&'a Key<P, UnspecifiedRole>: From<&'a Key<PublicParts, PrimaryRole>>,
Returns the key.
pub fn binding_signature<T>(&self, t: T) -> Option<&'a Signature> where
T: Into<Option<SystemTime>>,
[src]
T: Into<Option<SystemTime>>,
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]
T: Into<Option<SystemTime>>,
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]
P: KeyParts,
fn from(x: (&'a Cert, &'a KeyBinding<P, PrimaryRole>)) -> Self
[src]
impl<'a, P> From<(&'a Cert, &'a ComponentBinding<Key<P, SubordinateRole>>)> for KeyAmalgamation<'a, P> where
P: KeyParts,
[src]
P: KeyParts,
fn from(x: (&'a Cert, &'a KeyBinding<P, SubordinateRole>)) -> Self
[src]
impl<'a> From<KeyAmalgamation<'a, PublicParts>> for KeyAmalgamation<'a, UnspecifiedParts>
[src]
fn from(ka: KeyAmalgamation<'a, PublicParts>) -> Self
[src]
impl<'a> From<KeyAmalgamation<'a, SecretParts>> for KeyAmalgamation<'a, PublicParts>
[src]
fn from(ka: KeyAmalgamation<'a, SecretParts>) -> Self
[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.
fn try_from(ka: KeyAmalgamation<'a, PublicParts>) -> Result<Self>
[src]
Auto Trait Implementations
impl<'a, P> !RefUnwindSafe for KeyAmalgamation<'a, P>
impl<'a, P> Send for KeyAmalgamation<'a, P> where
P: Sync,
P: Sync,
impl<'a, P> Sync for KeyAmalgamation<'a, P> where
P: Sync,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,