pub struct SigCheckedEd25519Cert {
cert: SigCheckedCert,
raw: Vec<u8>,
}
Expand description
A signature-checked EncodedEd25519Cert
.
Fields§
§cert: SigCheckedCert
The parsed, checked cert.
raw: Vec<u8>
The raw, unparsed cert.
Trait Implementations§
Source§impl SelfSigned<SigCheckedEd25519Cert> for UncheckedEd25519Cert
impl SelfSigned<SigCheckedEd25519Cert> for UncheckedEd25519Cert
Source§fn is_well_signed(&self) -> StdResult<(), CertError>
fn is_well_signed(&self) -> StdResult<(), CertError>
Check the signature on this object
Source§fn dangerously_assume_wellsigned(self) -> SigCheckedEd25519Cert
fn dangerously_assume_wellsigned(self) -> SigCheckedEd25519Cert
Return the underlying object without checking its signature.
§fn check_signature(self) -> Result<T, Self::Error>
fn check_signature(self) -> Result<T, Self::Error>
Unwrap this object if the signature is valid
Source§impl Timebound<ValidatedEd25519Cert> for SigCheckedEd25519Cert
impl Timebound<ValidatedEd25519Cert> for SigCheckedEd25519Cert
Source§fn is_valid_at(&self, t: &SystemTime) -> StdResult<(), Self::Error>
fn is_valid_at(&self, t: &SystemTime) -> StdResult<(), Self::Error>
Check whether this object is valid at a given time. Read more
Source§fn dangerously_assume_timely(self) -> ValidatedEd25519Cert
fn dangerously_assume_timely(self) -> ValidatedEd25519Cert
Return the underlying object without checking whether it’s valid.
§fn check_valid_at(self, t: &SystemTime) -> Result<T, Self::Error>
fn check_valid_at(self, t: &SystemTime) -> Result<T, Self::Error>
Unwrap this Timebound object if it is valid at a given time.
§fn check_valid_now(self) -> Result<T, Self::Error>
fn check_valid_now(self) -> Result<T, Self::Error>
Unwrap this Timebound object if it is valid now.
§fn check_valid_at_opt(self, t: Option<SystemTime>) -> Result<T, Self::Error>
fn check_valid_at_opt(self, t: Option<SystemTime>) -> Result<T, Self::Error>
Unwrap this object if it is valid at the provided time t.
If no time is provided, check the object at the current time.
Auto Trait Implementations§
impl Freeze for SigCheckedEd25519Cert
impl RefUnwindSafe for SigCheckedEd25519Cert
impl Send for SigCheckedEd25519Cert
impl Sync for SigCheckedEd25519Cert
impl Unpin for SigCheckedEd25519Cert
impl UnwindSafe for SigCheckedEd25519Cert
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
, which can then be
downcast
into Box<dyn ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
, which can then be further
downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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