Struct sop::Verification [−][src]
pub struct Verification { /* fields omitted */ }
Expand description
Represents a successful signature verification.
Implementations
impl Verification
[src]
impl Verification
[src]pub fn new<'m, T, K, C, M>(
creation_time: T,
signing_key_fingerprint: K,
signing_cert_fingerprint: C,
message: M
) -> Result<Verification> where
T: Into<SystemTime>,
K: ToString,
C: ToString,
M: Into<Option<&'m str>>,
[src]
pub fn new<'m, T, K, C, M>(
creation_time: T,
signing_key_fingerprint: K,
signing_cert_fingerprint: C,
message: M
) -> Result<Verification> where
T: Into<SystemTime>,
K: ToString,
C: ToString,
M: Into<Option<&'m str>>,
[src]Creates a Verification
object.
pub fn creation_time(&self) -> SystemTime
[src]
pub fn creation_time(&self) -> SystemTime
[src]Returns the signature’s creation time.
pub fn signing_key_fingerprint(&self) -> &str
[src]
pub fn signing_key_fingerprint(&self) -> &str
[src]Returns the fingerprint of the signing (sub)key.
pub fn signing_cert_fingerprint(&self) -> &str
[src]
pub fn signing_cert_fingerprint(&self) -> &str
[src]Returns the fingerprint of the signing certificate.
Trait Implementations
impl Debug for Verification
[src]
impl Debug for Verification
[src]impl Display for Verification
[src]
impl Display for Verification
[src]impl Hash for Verification
[src]
impl Hash for Verification
[src]impl Ord for Verification
[src]
impl Ord for Verification
[src]impl PartialEq<Verification> for Verification
[src]
impl PartialEq<Verification> for Verification
[src]fn eq(&self, other: &Verification) -> bool
[src]
fn eq(&self, other: &Verification) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &Verification) -> bool
[src]
fn ne(&self, other: &Verification) -> bool
[src]This method tests for !=
.
impl PartialOrd<Verification> for Verification
[src]
impl PartialOrd<Verification> for Verification
[src]fn partial_cmp(&self, other: &Verification) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Verification) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for Verification
[src]
impl StructuralEq for Verification
[src]
impl StructuralPartialEq for Verification
[src]
Auto Trait Implementations
impl RefUnwindSafe for Verification
impl Send for Verification
impl Sync for Verification
impl Unpin for Verification
impl UnwindSafe for Verification
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more