c2pa-rs

A fork of https://github.com/contentauth/c2pa-rs/
git clone git://archive.git.mtrnord.blog/mtrnords-photography-manager/c2pa-rs.git
Log | Files | Refs | README

CA_test.json (1823B)


      1 {
      2   "active_manifest": "urn:uuid:d0d0c9a8-9ebb-45b1-a184-eb458e92cd47",
      3   "manifests": {
      4     "urn:uuid:d0d0c9a8-9ebb-45b1-a184-eb458e92cd47": {
      5       "claim_generator": "test/1.0 c2pa-rs/0.31.1-dev",
      6       "claim_generator_info": [
      7         {
      8           "name": "test",
      9           "version": "1.0"
     10         },
     11         {
     12           "name": "c2pa-rs",
     13           "version": "0.31.1-dev"
     14         }
     15       ],
     16       "format": "image/jpeg",
     17       "instance_id": "xmp:iid:d6b460e3-fce8-4892-a123-bbb8c28cd9af",
     18       "thumbnail": {
     19         "format": "image/jpeg",
     20         "identifier": "self#jumbf=c2pa.assertions/c2pa.thumbnail.claim.jpeg"
     21       },
     22       "ingredients": [],
     23       "assertions": [
     24         {
     25           "label": "c2pa.actions.v2",
     26           "data": {
     27             "actions": [
     28               {
     29                 "action": "c2pa.opened",
     30                 "softwareAgent": {
     31                   "name": "TestApp",
     32                   "version": "1.0",
     33                   "something": "else"
     34                 },
     35                 "parameters": {
     36                   "description": "import"
     37                 },
     38                 "digitalSourceType": "http://cv.iptc.org/newscodes/digitalsourcetype/algorithmicMedia"
     39               }
     40             ]
     41           }
     42         }
     43       ],
     44       "signature_info": {
     45         "alg": "Ed25519",
     46         "issuer": "C2PA Test Signing Cert",
     47         "cert_serial_number": "638838410810235485828984295321338730070538954823"
     48       },
     49       "label": "urn:uuid:d0d0c9a8-9ebb-45b1-a184-eb458e92cd47"
     50     }
     51   },
     52   "validation_status": [
     53     {
     54       "code": "assertion.dataHash.mismatch",
     55       "url": "self#jumbf=/c2pa/urn:uuid:d0d0c9a8-9ebb-45b1-a184-eb458e92cd47/c2pa.assertions/c2pa.hash.data",
     56       "explanation": "asset hash error, name: jumbf manifest, error: hash verification( Hashes do not match )"
     57     }
     58   ]
     59 }