pub struct SignedEnvelope {
pub finding_id: String,
pub signature: String,
pub public_key: String,
pub signed_at: String,
pub algorithm: String,
}Expand description
A signed envelope wrapping a finding’s cryptographic signature.
Fields§
§finding_id: String§signature: StringHex-encoded Ed25519 signature (128 hex chars = 64 bytes).
public_key: StringHex-encoded public key of the signer (64 hex chars = 32 bytes).
signed_at: StringISO 8601 timestamp of when the signature was produced.
algorithm: StringAlgorithm identifier (always “ed25519”).
Trait Implementations§
Source§impl Clone for SignedEnvelope
impl Clone for SignedEnvelope
Source§fn clone(&self) -> SignedEnvelope
fn clone(&self) -> SignedEnvelope
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 SignedEnvelope
impl Debug for SignedEnvelope
Source§impl<'de> Deserialize<'de> for SignedEnvelope
impl<'de> Deserialize<'de> for SignedEnvelope
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
Auto Trait Implementations§
impl Freeze for SignedEnvelope
impl RefUnwindSafe for SignedEnvelope
impl Send for SignedEnvelope
impl Sync for SignedEnvelope
impl Unpin for SignedEnvelope
impl UnsafeUnpin for SignedEnvelope
impl UnwindSafe for SignedEnvelope
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