pub struct HashIdentifier<'a>(/* private fields */);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.
Implementations§
Source§impl<'a> HashIdentifier<'a>
impl<'a> HashIdentifier<'a>
Trait Implementations§
Source§impl<'a> Clone for HashIdentifier<'a>
impl<'a> Clone for HashIdentifier<'a>
Source§fn clone(&self) -> HashIdentifier<'a>
fn clone(&self) -> HashIdentifier<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for HashIdentifier<'a>
Source§impl<'a> Debug for HashIdentifier<'a>
impl<'a> Debug for HashIdentifier<'a>
impl<'a> Eq for HashIdentifier<'a>
Source§impl<'a> PartialEq for HashIdentifier<'a>
impl<'a> PartialEq for HashIdentifier<'a>
impl<'a> StructuralPartialEq for HashIdentifier<'a>
Auto Trait Implementations§
impl<'a> Forget for HashIdentifier<'a>
impl<'a> Freeze for HashIdentifier<'a>
impl<'a> Move 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> UnsafeUnpin 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