Enum coset::iana::WalnutDsaKeyParameter
source · #[non_exhaustive]pub enum WalnutDsaKeyParameter {
N,
Q,
TValues,
Matrix1,
Permutation1,
Matrix2,
}
Expand description
IANA-registered COSE key parameters for keys of type KeyType::WalnutDSA
.
From IANA registry https://www.iana.org/assignments/cose/cose.xhtml#key-type-parameters as of 2021-03-19.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
N
Group and Matrix (NxN) size
Associated value of type uint
Q
Finite field F_q
Associated value of type uint
TValues
List of T-values, enties in F_q
Associated value of type array of uint
Matrix1
NxN Matrix of enties in F_q in column-major form
Associated value of type array of array of uint
Permutation1
Permutation associated with matrix 1
Associated value of type array of uint
Matrix2
NxN Matrix of enties in F_q in column-major form
Associated value of type array of array of uint
Trait Implementations§
source§impl Clone for WalnutDsaKeyParameter
impl Clone for WalnutDsaKeyParameter
source§fn clone(&self) -> WalnutDsaKeyParameter
fn clone(&self) -> WalnutDsaKeyParameter
Returns a copy 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 WalnutDsaKeyParameter
impl Debug for WalnutDsaKeyParameter
source§impl EnumI64 for WalnutDsaKeyParameter
impl EnumI64 for WalnutDsaKeyParameter
source§impl Ord for WalnutDsaKeyParameter
impl Ord for WalnutDsaKeyParameter
source§fn cmp(&self, other: &WalnutDsaKeyParameter) -> Ordering
fn cmp(&self, other: &WalnutDsaKeyParameter) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<WalnutDsaKeyParameter> for WalnutDsaKeyParameter
impl PartialEq<WalnutDsaKeyParameter> for WalnutDsaKeyParameter
source§fn eq(&self, other: &WalnutDsaKeyParameter) -> bool
fn eq(&self, other: &WalnutDsaKeyParameter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<WalnutDsaKeyParameter> for WalnutDsaKeyParameter
impl PartialOrd<WalnutDsaKeyParameter> for WalnutDsaKeyParameter
source§fn partial_cmp(&self, other: &WalnutDsaKeyParameter) -> Option<Ordering>
fn partial_cmp(&self, other: &WalnutDsaKeyParameter) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for WalnutDsaKeyParameter
impl Eq for WalnutDsaKeyParameter
impl StructuralEq for WalnutDsaKeyParameter
impl StructuralPartialEq for WalnutDsaKeyParameter
Auto Trait Implementations§
impl RefUnwindSafe for WalnutDsaKeyParameter
impl Send for WalnutDsaKeyParameter
impl Sync for WalnutDsaKeyParameter
impl Unpin for WalnutDsaKeyParameter
impl UnwindSafe for WalnutDsaKeyParameter
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