pub enum VerifyingKey<'a> {
RsaPem(&'a str),
Ed25519(&'a [u8; 32]),
}Expand description
The public key a signature is checked against.
Variants§
Auto Trait Implementations§
impl<'a> Freeze for VerifyingKey<'a>
impl<'a> RefUnwindSafe for VerifyingKey<'a>
impl<'a> Send for VerifyingKey<'a>
impl<'a> Sync for VerifyingKey<'a>
impl<'a> Unpin for VerifyingKey<'a>
impl<'a> UnsafeUnpin for VerifyingKey<'a>
impl<'a> UnwindSafe for VerifyingKey<'a>
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