Struct tor_llcrypto::pk::rsa::ValidatableRsaSignature
source · [−]pub struct ValidatableRsaSignature { /* private fields */ }
Expand description
An RSA signature plus all the information needed to validate it.
Implementations
Trait Implementations
sourceimpl ValidatableSignature for ValidatableRsaSignature
impl ValidatableSignature for ValidatableRsaSignature
sourcefn is_valid(&self) -> bool
fn is_valid(&self) -> bool
Check whether this signature is a correct signature for the document.
sourcefn as_ed25519(&self) -> Option<&ValidatableEd25519Signature>
fn as_ed25519(&self) -> Option<&ValidatableEd25519Signature>
Return this value as a validatable Ed25519 signature, if it is one.
Auto Trait Implementations
impl RefUnwindSafe for ValidatableRsaSignature
impl Send for ValidatableRsaSignature
impl Sync for ValidatableRsaSignature
impl Unpin for ValidatableRsaSignature
impl UnwindSafe for ValidatableRsaSignature
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