pub struct SigParameters {
pub public_key: Vec<u8>,
pub signature: Vec<u8>,
pub params: HashMap<String, Vec<u8>>,
}Expand description
Digital signature parameters
Used by algorithms that include signatures (ML-DSA, Ed25519, etc.)
Fields§
§public_key: Vec<u8>Public key for signature verification
signature: Vec<u8>Digital signature
params: HashMap<String, Vec<u8>>Algorithm-specific parameters
Trait Implementations§
Source§impl Clone for SigParameters
impl Clone for SigParameters
Source§fn clone(&self) -> SigParameters
fn clone(&self) -> SigParameters
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 SigParameters
impl Debug for SigParameters
Source§impl<'de> Deserialize<'de> for SigParameters
impl<'de> Deserialize<'de> for SigParameters
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 SigParameters
impl PartialEq for SigParameters
Source§impl Serialize for SigParameters
impl Serialize for SigParameters
impl Eq for SigParameters
impl StructuralPartialEq for SigParameters
Auto Trait Implementations§
impl Freeze for SigParameters
impl RefUnwindSafe for SigParameters
impl Send for SigParameters
impl Sync for SigParameters
impl Unpin for SigParameters
impl UnwindSafe for SigParameters
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