pub enum Signature {
Ed25519(Box<Signature>),
MlDsa44((Box<MLDSA44Signature>, Hash)),
MlDsa65((Box<MLDSA65Signature>, Hash)),
MlDsa87((Box<MLDSA87Signature>, Hash)),
}Variants§
Ed25519(Box<Signature>)
MlDsa44((Box<MLDSA44Signature>, Hash))
MlDsa65((Box<MLDSA65Signature>, Hash))
MlDsa87((Box<MLDSA87Signature>, Hash))
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Signature
impl<'de> Deserialize<'de> for Signature
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<MLDSASignature<libcrux_ml_dsa::::ml_dsa_generic::ml_dsa_44::MLDSA44Signature::{constant#0}>> for Signature
impl From<MLDSASignature<libcrux_ml_dsa::::ml_dsa_generic::ml_dsa_44::MLDSA44Signature::{constant#0}>> for Signature
Source§impl From<MLDSASignature<libcrux_ml_dsa::::ml_dsa_generic::ml_dsa_65::MLDSA65Signature::{constant#0}>> for Signature
impl From<MLDSASignature<libcrux_ml_dsa::::ml_dsa_generic::ml_dsa_65::MLDSA65Signature::{constant#0}>> for Signature
Source§impl From<MLDSASignature<libcrux_ml_dsa::::ml_dsa_generic::ml_dsa_87::MLDSA87Signature::{constant#0}>> for Signature
impl From<MLDSASignature<libcrux_ml_dsa::::ml_dsa_generic::ml_dsa_87::MLDSA87Signature::{constant#0}>> for Signature
Source§impl PartialOrd for Signature
Signature “ordering” is used as tie-breaker for messages with the same timestamp,
impl PartialOrd for Signature
Signature “ordering” is used as tie-breaker for messages with the same timestamp,
The order is determined by the signature index (the higher the index in the enum, the higher the signature) and if they are the same by comparing the signature bytes directly with each other.
Auto Trait Implementations§
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnwindSafe for Signature
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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