pub struct VerifyingKey { /* private fields */ }Expand description
A verifying key for token verification
Implementations§
Source§impl VerifyingKey
impl VerifyingKey
Sourcepub fn from_bytes(bytes: &[u8; 32]) -> Result<Self, AuthError>
pub fn from_bytes(bytes: &[u8; 32]) -> Result<Self, AuthError>
Load from raw bytes (32-byte public key)
Trait Implementations§
Source§impl Clone for VerifyingKey
impl Clone for VerifyingKey
Auto Trait Implementations§
impl Forget for VerifyingKey
impl Freeze for VerifyingKey
impl RefUnwindSafe for VerifyingKey
impl Send for VerifyingKey
impl Sync for VerifyingKey
impl Unpin for VerifyingKey
impl UnsafeUnpin for VerifyingKey
impl UnwindSafe for VerifyingKey
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