[−][src]Enum sequoia_openpgp::parse::stream::VerificationResult
Contains the result of a signature verification.
Variants
The signature is good.
Note: A signature is considered good if it can be mathematically verified. This doesn't mean that the key that generated the signature is in anyway trustworthy in the sense that it belongs to the person or entity that the user thinks it belongs to. This can only be evaluated within a trust model, such as the web of trust (WoT).
Fields of GoodChecksum
sig: Signature
The signature.
cert: &'a Cert
The signature's issuer.
key: &'a Key<PublicParts, UnspecifiedRole>
The signing key that made the signature.
binding: Option<&'a Signature>
The signing key's binding signature.
revoked: RevocationStatus<'a>
The signing key's revocation status
The signature is good, but it is not alive at the specified time.
See SubpacketAreas::signature_alive
for a definition of
liveness.
Fields of NotAlive
sig: Signature
The signature.
cert: &'a Cert
The signature's issuer.
key: &'a Key<PublicParts, UnspecifiedRole>
The signing key that made the signature.
binding: Option<&'a Signature>
The signing key's binding signature.
revoked: RevocationStatus<'a>
The signing key's revocation status
Unable to verify the signature because the key is missing.
Fields of MissingKey
sig: Signature
The signature.
The signature is bad.
Fields of BadChecksum
sig: Signature
The signature.
cert: &'a Cert
The signature's issuer.
key: &'a Key<PublicParts, UnspecifiedRole>
The signing key that made the signature.
binding: Option<&'a Signature>
The signing key's binding signature.
revoked: RevocationStatus<'a>
The signing key's revocation status
Methods
impl<'a> VerificationResult<'a>
[src]
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for VerificationResult<'a>
impl<'a> Send for VerificationResult<'a>
impl<'a> Sync for VerificationResult<'a>
impl<'a> Unpin for VerificationResult<'a>
impl<'a> !UnwindSafe for VerificationResult<'a>
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>,