#[repr(u8)]
pub enum Algorithm {
Asymmetric(Algorithm),
Authentication(Algorithm),
Ecdh(Algorithm),
Ecdsa(Algorithm),
Hmac(Algorithm),
Mgf(Algorithm),
Opaque(Algorithm),
Rsa(Algorithm),
Template(Algorithm),
Wrap(Algorithm),
YubicoOtp(Algorithm),
}
Expand description
Cryptographic algorithm types supported by the YubiHSM 2
Variants
Asymmetric(Algorithm)
Asymmetric algorithms
Authentication(Algorithm)
YubiHSM 2 symmetric PSK authentication
Ecdh(Algorithm)
Elliptic Curve Diffie-Hellman (i.e. key exchange) algorithms
Ecdsa(Algorithm)
ECDSA algorithms
Hmac(Algorithm)
HMAC algorithms
Mgf(Algorithm)
RSA-PSS mask generating functions
Opaque(Algorithm)
Opaque data types
Rsa(Algorithm)
RSA algorithms (signing and encryption)
Template(Algorithm)
SSH template algorithms
Wrap(Algorithm)
Object wrap (i.e. HSM-to-HSM encryption) algorithms
YubicoOtp(Algorithm)
Yubico OTP algorithms
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Algorithm
impl<'de> Deserialize<'de> for Algorithm
sourcefn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> Result<Algorithm, D::Error>
fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> Result<Algorithm, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Algorithm
impl Eq for Algorithm
impl StructuralEq for Algorithm
impl StructuralPartialEq for Algorithm
Auto Trait Implementations
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more