#[repr(i32)]pub enum CoseAlgorithm {
ES256 = -7,
EdDSA = -8,
ES384 = -35,
ES512 = -36,
RS256 = -257,
}Expand description
COSE algorithm identifiers
Common COSE algorithm identifiers used in FIDO2.
Variants§
ES256 = -7
ES256 (ECDSA with P-256 and SHA-256)
EdDSA = -8
EdDSA
ES384 = -35
ES384 (ECDSA with P-384 and SHA-384)
ES512 = -36
ES512 (ECDSA with P-521 and SHA-512)
RS256 = -257
RS256 (RSASSA-PKCS1-v1_5 with SHA-256)
Implementations§
Trait Implementations§
Source§impl Clone for CoseAlgorithm
impl Clone for CoseAlgorithm
Source§fn clone(&self) -> CoseAlgorithm
fn clone(&self) -> CoseAlgorithm
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CoseAlgorithm
impl Debug for CoseAlgorithm
Source§impl PartialEq for CoseAlgorithm
impl PartialEq for CoseAlgorithm
impl Copy for CoseAlgorithm
impl Eq for CoseAlgorithm
impl StructuralPartialEq for CoseAlgorithm
Auto Trait Implementations§
impl Freeze for CoseAlgorithm
impl RefUnwindSafe for CoseAlgorithm
impl Send for CoseAlgorithm
impl Sync for CoseAlgorithm
impl Unpin for CoseAlgorithm
impl UnwindSafe for CoseAlgorithm
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