You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement a signing logic for the CatalystSignedDocument object.
Description
Inside Content::new method add content: Vec<u8> validation based on the ContentType.
something like this
match content_type {ContentType::Json => serde_json::from_slice::<serde_json::Value>(&content)?,ContentType::Cbor => minicbor::decode::<minicbor::data::Token>(&content)?,}
Add a new method verify for CatalystSignedDocument struct. which will verify the underlying signatures and all underlying Uuid types (do the conform to the v7 or v4 versions).
Summary
Implement a signing logic for the
CatalystSignedDocument
object.Description
Content::new
method addcontent: Vec<u8>
validation based on theContentType
.something like this
verify
forCatalystSignedDocument
struct. which will verify the underlying signatures and all underlying Uuid types (do the conform to the v7 or v4 versions).sign
forCatalystSignedDocument
struct. Which will add a new signature.The text was updated successfully, but these errors were encountered: