Package com.bfo.box

Class C2PA_AssertionThumbnail

All Implemented Interfaces:
C2PA_Assertion

public class C2PA_AssertionThumbnail extends EmbeddedFileContainerBox implements C2PA_Assertion
A C2PA Assertion for the "c2pa.thumbnail.claim" and "c2pa.thumbnail.ingredient" types

Note: this is a placeholder class; verify will return without error

Since:
5
  • Constructor Details

    • C2PA_AssertionThumbnail

      public C2PA_AssertionThumbnail(String mediaType, String fileName, InputStream data, boolean claim) throws IOException
      Create a new assertion
      Parameters:
      mediaType - the media-type of the file (image/*, required)
      fileName - the file-name of the file (optional)
      data - the InputStream to read the data from
      claim - if true, this assertion is a claim, if false it is an ingredient
      Throws:
      IOException - if the thumbnail cannot be read