pub enum AlgorithmKind {
Hash,
SymmetricCipher,
SignatureSign,
SignatureVerify,
KeyDerivation,
RandomBytes,
}Expand description
Identifies the broad family of an algorithm so error messages and FIPS audit logs can group rejections without parsing strings.
Variants§
Hash
Cryptographic hash function (e.g. MD5, SHA-256).
SymmetricCipher
Symmetric block / stream cipher (e.g. AES-CBC, RC4).
SignatureSign
Digital signature creation. Distinct from SignatureVerify
because FIPS providers usually permit verification of legacy
signatures while forbidding generation under the same algos.
SignatureVerify
Digital signature verification.
KeyDerivation
Key-derivation function or password-based key construction.
RandomBytes
Cryptographically strong random byte source.
Trait Implementations§
Source§impl Clone for AlgorithmKind
impl Clone for AlgorithmKind
Source§fn clone(&self) -> AlgorithmKind
fn clone(&self) -> AlgorithmKind
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 Copy for AlgorithmKind
Source§impl Debug for AlgorithmKind
impl Debug for AlgorithmKind
Source§impl Display for AlgorithmKind
impl Display for AlgorithmKind
impl Eq for AlgorithmKind
Source§impl PartialEq for AlgorithmKind
impl PartialEq for AlgorithmKind
impl StructuralPartialEq for AlgorithmKind
Auto Trait Implementations§
impl Freeze for AlgorithmKind
impl RefUnwindSafe for AlgorithmKind
impl Send for AlgorithmKind
impl Sync for AlgorithmKind
impl Unpin for AlgorithmKind
impl UnsafeUnpin for AlgorithmKind
impl UnwindSafe for AlgorithmKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.