Enum webauthn_rs_core::internals::TpmAlgId
source · #[repr(u16)]pub enum TpmAlgId {
Show 14 variants
Error = 0,
Rsa = 1,
Sha1 = 4,
Hmac = 5,
Aes = 6,
Sha256 = 11,
Sha384 = 12,
Sha512 = 13,
Null = 16,
RsaSSA = 20,
RsaPSS = 22,
Ecdsa = 24,
Ecdaa = 26,
Ecc = 35,
}Expand description
The tpm cryptographic algorithm that may be in use.
Variants§
Error = 0
Error occured
Rsa = 1
RSA
Sha1 = 4
Insecure Sha1
Hmac = 5
Hmac
Aes = 6
Aes
Sha256 = 11
Sha256
Sha384 = 12
Sha384
Sha512 = 13
Sha512
Null = 16
Null (no algorithm)
RsaSSA = 20
Rsa SSA
RsaPSS = 22
Rsa PSS
Ecdsa = 24
Ecdsa
Ecdaa = 26
Ecdaa
Ecc = 35
Ecc
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TpmAlgId
impl RefUnwindSafe for TpmAlgId
impl Send for TpmAlgId
impl Sync for TpmAlgId
impl Unpin for TpmAlgId
impl UnwindSafe for TpmAlgId
Blanket Implementations§
source§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
source§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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