pub struct PublicKey { /* private fields */ }Expand description
Ed25519 public key (32 bytes) for token verification.
Independent implementation from pas-token — only needs hex parsing
and PASETO verification, no PASERK key ID computation.
Implementations§
Trait Implementations§
Source§impl TryFrom<&WellKnownPasetoKey> for PublicKey
impl TryFrom<&WellKnownPasetoKey> for PublicKey
impl Eq for PublicKey
impl StructuralPartialEq for PublicKey
Auto Trait Implementations§
impl Freeze for PublicKey
impl RefUnwindSafe for PublicKey
impl Send for PublicKey
impl Sync for PublicKey
impl Unpin for PublicKey
impl UnsafeUnpin for PublicKey
impl UnwindSafe for PublicKey
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