pub enum Hash<'a> {
SHA1([u8; 20]),
SHA256([u8; 32]),
SHA384([u8; 48]),
SHA512([u8; 64]),
ECDSA(&'a [u8]),
EdDSA(&'a [u8]),
}Expand description
A hash value that can be signed by the card.
Variants§
Auto Trait Implementations§
impl<'a> Freeze for Hash<'a>
impl<'a> RefUnwindSafe for Hash<'a>
impl<'a> Send for Hash<'a>
impl<'a> Sync for Hash<'a>
impl<'a> Unpin for Hash<'a>
impl<'a> UnwindSafe for Hash<'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