pub struct HashIdentifier<'a>(pub &'a [u8]);
Expand description
The message for which a signature is to be generated or verified is pre-hashed by the caller and provided as a hash value along with an identifier of the used hash function. The identifier is normally an encoded ASN.1 OID. A special identifier is used for “raw” messages (i.e. not pre-hashed at all); it uses a single byte of value 0x00.
Tuple Fields§
§0: &'a [u8]
Auto Trait Implementations§
impl<'a> Freeze for HashIdentifier<'a>
impl<'a> RefUnwindSafe for HashIdentifier<'a>
impl<'a> Send for HashIdentifier<'a>
impl<'a> Sync for HashIdentifier<'a>
impl<'a> Unpin for HashIdentifier<'a>
impl<'a> UnwindSafe for HashIdentifier<'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