Struct tor_cert::rsa::UncheckedRsaCrosscert
source · [−]pub struct UncheckedRsaCrosscert(_);
Expand description
An RsaCrosscert whose signature has not been checked.
Trait Implementations
sourceimpl ExternallySigned<TimerangeBound<RsaCrosscert>> for UncheckedRsaCrosscert
impl ExternallySigned<TimerangeBound<RsaCrosscert>> for UncheckedRsaCrosscert
sourcefn key_is_correct(&self, _k: &Self::Key) -> Result<(), Self::KeyHint>
fn key_is_correct(&self, _k: &Self::Key) -> Result<(), Self::KeyHint>
Check whether k is the right key for this object. If not, return an error describing what key would be right. Read more
sourcefn is_well_signed(&self, k: &Self::Key) -> Result<(), Self::Error>
fn is_well_signed(&self, k: &Self::Key) -> Result<(), Self::Error>
Check the signature on this object
sourcefn dangerously_assume_wellsigned(self) -> TimerangeBound<RsaCrosscert>
fn dangerously_assume_wellsigned(self) -> TimerangeBound<RsaCrosscert>
Unwrap this object without checking any signatures on it.
sourcefn check_signature(self, k: &Self::Key) -> Result<T, Self::Error>
fn check_signature(self, k: &Self::Key) -> Result<T, Self::Error>
Unwrap this object if it’s correctly signed by a provided key.
Auto Trait Implementations
impl RefUnwindSafe for UncheckedRsaCrosscert
impl Send for UncheckedRsaCrosscert
impl Sync for UncheckedRsaCrosscert
impl Unpin for UncheckedRsaCrosscert
impl UnwindSafe for UncheckedRsaCrosscert
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more