pub enum HashUseAlgorithm<'a> {
Digest(DigestAlgorithm),
Shake256_512,
Intrinsic(SignatureAlgorithm),
Unsupported(Option<&'a str>),
}Expand description
Declared hash semantics; output length never determines the algorithm.
Variants§
Digest(DigestAlgorithm)
A recognized fixed-output digest.
Shake256_512
RFC 8032 Ed448ph’s SHAKE256 prehash with a 64-byte output.
Intrinsic(SignatureAlgorithm)
No independently selected external digest (e.g. PureEdDSA or pure ML-DSA).
Unsupported(Option<&'a str>)
Original unimplemented/malformed instruction, including an absent URI.
Trait Implementations§
Source§impl<'a> Clone for HashUseAlgorithm<'a>
impl<'a> Clone for HashUseAlgorithm<'a>
impl<'a> Copy for HashUseAlgorithm<'a>
Source§impl<'a> Debug for HashUseAlgorithm<'a>
impl<'a> Debug for HashUseAlgorithm<'a>
impl<'a> Eq for HashUseAlgorithm<'a>
Source§impl<'a> PartialEq for HashUseAlgorithm<'a>
impl<'a> PartialEq for HashUseAlgorithm<'a>
impl<'a> StructuralPartialEq for HashUseAlgorithm<'a>
Auto Trait Implementations§
impl<'a> Freeze for HashUseAlgorithm<'a>
impl<'a> RefUnwindSafe for HashUseAlgorithm<'a>
impl<'a> Send for HashUseAlgorithm<'a>
impl<'a> Sync for HashUseAlgorithm<'a>
impl<'a> Unpin for HashUseAlgorithm<'a>
impl<'a> UnsafeUnpin for HashUseAlgorithm<'a>
impl<'a> UnwindSafe for HashUseAlgorithm<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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