Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions sdk/src/assertions/embedded_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ use crate::{
};

/// A EmbeddedData assertion
/// From C2PA v2.0, this is used to embed binary data such as thumbnails or icons.
/// It replaces the old Thumbnail assertion type.
/// The label is used to identify the type of data, and the content type specifies the format.
/// The data is stored as a binary vector.
/// <https://spec.c2pa.org/specifications/specifications/2.2/specs/C2PA_Specification.html#_embedded_data>
#[derive(Serialize)]
pub struct EmbeddedData {
pub label: String,
Expand Down
Loading