Skip to main content

c2pa.assertionaccessor

Home > c2pa > AssertionAccessor

AssertionAccessor interface

Signature:
export interface AssertionAccessor 

Properties

PropertyModifiersTypeDescription
dataAssertion[]Raw assertion data as returned by the WASM binary
get<T extends AllAssertions['label']>(label: T) => (Extract<AllAssertions, { label: T; }> | undefined)[]Convenience method that returns an array of all assertions matching a given label, sorted by their index value