pub struct ParsedSignature {
pub v: u32,
pub agent: AgentPubkey,
pub ts: i64,
pub nonce: Nonce,
pub network: NetworkId,
pub sig: [u8; 64],
pub mldsa_sig: Option<Vec<u8>>,
}Expand description
Parsed Parley-Signature header.
Fields§
§v: u32§agent: AgentPubkey§ts: i64§nonce: Nonce§network: NetworkId§sig: [u8; 64]§mldsa_sig: Option<Vec<u8>>ML-DSA-65 signature bytes, if the mldsa_sig field is present.
Optional at parse time so unregistered agents (e.g. mid-register)
and v1 callers still parse; the middleware enforces presence for
registered agents.
Trait Implementations§
Source§impl Clone for ParsedSignature
impl Clone for ParsedSignature
Source§fn clone(&self) -> ParsedSignature
fn clone(&self) -> ParsedSignature
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 ParsedSignature
impl Debug for ParsedSignature
Auto Trait Implementations§
impl Freeze for ParsedSignature
impl RefUnwindSafe for ParsedSignature
impl Send for ParsedSignature
impl Sync for ParsedSignature
impl Unpin for ParsedSignature
impl UnsafeUnpin for ParsedSignature
impl UnwindSafe for ParsedSignature
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