pub struct HybridSignature {
pub ed25519: Vec<u8>,
pub ml_dsa_65: Vec<u8>,
}Expand description
Ed25519 + ML-DSA-65 signature pair over the same canonical bytes.
Both components MUST verify for the signature to be accepted.
Fields§
§ed25519: Vec<u8>§ml_dsa_65: Vec<u8>Trait Implementations§
Source§impl Clone for HybridSignature
impl Clone for HybridSignature
Source§fn clone(&self) -> HybridSignature
fn clone(&self) -> HybridSignature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HybridSignature
impl Debug for HybridSignature
Source§impl<'de> Deserialize<'de> for HybridSignature
impl<'de> Deserialize<'de> for HybridSignature
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 PartialEq for HybridSignature
impl PartialEq for HybridSignature
Source§fn eq(&self, other: &HybridSignature) -> bool
fn eq(&self, other: &HybridSignature) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HybridSignature
impl Serialize for HybridSignature
impl Eq for HybridSignature
impl StructuralPartialEq for HybridSignature
Auto Trait Implementations§
impl Freeze for HybridSignature
impl RefUnwindSafe for HybridSignature
impl Send for HybridSignature
impl Sync for HybridSignature
impl Unpin for HybridSignature
impl UnsafeUnpin for HybridSignature
impl UnwindSafe for HybridSignature
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