pub struct SigCheckedCert { /* private fields */ }Expand description
A certificate that has been parsed and signature-checked, but whose timeliness has not been checked.
Trait Implementations§
Source§impl Clone for SigCheckedCert
impl Clone for SigCheckedCert
Source§fn clone(&self) -> SigCheckedCert
fn clone(&self) -> SigCheckedCert
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SigCheckedCert
impl Debug for SigCheckedCert
impl Eq for SigCheckedCert
Source§impl PartialEq for SigCheckedCert
impl PartialEq for SigCheckedCert
Source§impl SelfSigned<SigCheckedCert> for UncheckedCert
impl SelfSigned<SigCheckedCert> for UncheckedCert
Source§fn dangerously_assume_wellsigned(self) -> SigCheckedCert
fn dangerously_assume_wellsigned(self) -> SigCheckedCert
Return the underlying object without checking its signature.
Source§fn check_signature(self) -> Result<T, Self::Error>
fn check_signature(self) -> Result<T, Self::Error>
Unwrap this object if the signature is valid
impl StructuralPartialEq for SigCheckedCert
Source§impl TimeBound for SigCheckedCert
impl TimeBound for SigCheckedCert
Source§type Inner = Ed25519Cert
type Inner = Ed25519Cert
The inner, wrapped type, which is being protected by this
TimeBound implementationSource§fn dangerously_assume_timely(self) -> Ed25519Cert
fn dangerously_assume_timely(self) -> Ed25519Cert
Return the underlying object without checking whether it’s valid.
Source§fn check_valid_at(&self, t: &SystemTime) -> Result<(), TimeValidityError>
fn check_valid_at(&self, t: &SystemTime) -> Result<(), TimeValidityError>
Check whether this object is valid at a given time. Read more
Source§fn if_valid_at(self, t: &SystemTime) -> Result<Self::Inner, TimeValidityError>
fn if_valid_at(self, t: &SystemTime) -> Result<Self::Inner, TimeValidityError>
Unwrap this TimeBound object if it is valid at a given time.
Source§fn if_valid_now(self) -> Result<Self::Inner, TimeValidityError>
fn if_valid_now(self) -> Result<Self::Inner, TimeValidityError>
Unwrap this TimeBound object if it is valid now.
Source§fn unwrap_with(self, builder: &mut TimeRangeBoundBuilder) -> Self::Inner
fn unwrap_with(self, builder: &mut TimeRangeBoundBuilder) -> Self::Inner
Source§fn check_valid_at_opt(
self,
t: Option<SystemTime>,
) -> Result<Self::Inner, TimeValidityError>
fn check_valid_at_opt( self, t: Option<SystemTime>, ) -> Result<Self::Inner, TimeValidityError>
👎Deprecated:
use check_valid_at
Unwrap this object if it is valid at the provided time t.
If no time is provided, check the object at the current time. Read more
Auto Trait Implementations§
impl Freeze for SigCheckedCert
impl RefUnwindSafe for SigCheckedCert
impl Send for SigCheckedCert
impl Sync for SigCheckedCert
impl Unpin for SigCheckedCert
impl UnsafeUnpin for SigCheckedCert
impl UnwindSafe for SigCheckedCert
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more