[][src]Struct pgp::composed::signed_key::shared::SignedKeyDetails

pub struct SignedKeyDetails {
    pub revocation_signatures: Vec<Signature>,
    pub direct_signatures: Vec<Signature>,
    pub users: Vec<SignedUser>,
    pub user_attributes: Vec<SignedUserAttribute>,
}

Shared details between secret and public keys.

Fields

revocation_signatures: Vec<Signature>direct_signatures: Vec<Signature>users: Vec<SignedUser>user_attributes: Vec<SignedUserAttribute>

Methods

impl SignedKeyDetails[src]

pub fn new(
    revocation_signatures: Vec<Signature>,
    direct_signatures: Vec<Signature>,
    users: Vec<SignedUser>,
    user_attributes: Vec<SignedUserAttribute>
) -> Self
[src]

pub fn verify(&self, key: &impl PublicKeyTrait) -> Result<()>[src]

pub fn as_unsigned(&self) -> KeyDetails[src]

Trait Implementations

impl Serialize for SignedKeyDetails[src]

impl Clone for SignedKeyDetails[src]

impl Eq for SignedKeyDetails[src]

impl PartialEq<SignedKeyDetails> for SignedKeyDetails[src]

impl Debug for SignedKeyDetails[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

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