pub struct SignaturePayload {
pub algo: String,
pub pubkey: String,
pub sig: String,
}Expand description
Public Ed25519 signature payload carried alongside the signed
RunEvidence artifact.
All three fields are present on a successfully signed artifact;
absence of the parent signature slot on the RunEvidence itself
is how unsigned (or opted-out) emissions are represented.
pubkey and sig are base64url (no padding) per ec ADR-0003’s
convention for binary fingerprints on the wire — same encoding the
rest of tsafe uses for its hash family.
Fields§
§algo: StringSignature algorithm identifier. Always SIG_ALGO_ED25519 in
Phase 5.
pubkey: StringVerifying-key bytes, base64url-encoded, no padding (32 bytes decoded).
sig: StringEd25519 signature bytes, base64url-encoded, no padding (64 bytes decoded).
Trait Implementations§
Source§impl Clone for SignaturePayload
impl Clone for SignaturePayload
Source§fn clone(&self) -> SignaturePayload
fn clone(&self) -> SignaturePayload
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 SignaturePayload
impl Debug for SignaturePayload
Source§impl<'de> Deserialize<'de> for SignaturePayload
impl<'de> Deserialize<'de> for SignaturePayload
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 SignaturePayload
impl PartialEq for SignaturePayload
Source§fn eq(&self, other: &SignaturePayload) -> bool
fn eq(&self, other: &SignaturePayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SignaturePayload
impl Serialize for SignaturePayload
impl Eq for SignaturePayload
impl StructuralPartialEq for SignaturePayload
Auto Trait Implementations§
impl Freeze for SignaturePayload
impl RefUnwindSafe for SignaturePayload
impl Send for SignaturePayload
impl Sync for SignaturePayload
impl Unpin for SignaturePayload
impl UnsafeUnpin for SignaturePayload
impl UnwindSafe for SignaturePayload
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.