Struct json::SignedJson
zaun_community_protocol::json::SignedJson · Struct
pub struct SignedJson { … }A signed object as it travels in JSON: the canonical bytes B and the
composite signature, both base64url. Receivers verify sig over bytes with the context of
the object type they expect before decoding bytes.
Fields
Section titled “Fields”bytes: Vec<u8>
Section titled “bytes: Vec<u8>”Canonical encoding B of the object.
sig: Vec<u8>
Section titled “sig: Vec<u8>”Encoded Signature.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Deserialize<'de>, Eq, From<Signed<T>>, PartialEq, Serialize, StructuralPartialEq