pub struct Hs256Verifier { /* private fields */ }Expand description
Precomputed material for fast HS256 signature verification.
Use prepare_hs256_verifier to build once, then call
Hs256Verifier::verify for each candidate secret without re-parsing the
token. Intended for tight cracking loops.
Implementations§
Auto Trait Implementations§
impl Freeze for Hs256Verifier
impl RefUnwindSafe for Hs256Verifier
impl Send for Hs256Verifier
impl Sync for Hs256Verifier
impl Unpin for Hs256Verifier
impl UnsafeUnpin for Hs256Verifier
impl UnwindSafe for Hs256Verifier
Blanket Implementations§
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