@contentauth/c2pa-web 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/LICENSE +21 -0
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +52 -41
  5. package/dist/lib/reader.d.ts +16 -3
  6. package/dist/lib/reader.d.ts.map +1 -1
  7. package/dist/lib/settings.d.ts +1 -0
  8. package/dist/lib/settings.d.ts.map +1 -1
  9. package/dist/lib/worker.d.ts +3 -1
  10. package/dist/lib/worker.d.ts.map +1 -1
  11. package/dist/resources/c2pa_bg.wasm +0 -0
  12. package/package.json +8 -3
  13. package/CHANGELOG.md +0 -20
  14. package/eslint.config.mjs +0 -30
  15. package/project.json +0 -7
  16. package/src/index.ts +0 -15
  17. package/src/lib/c2pa.spec.ts +0 -166
  18. package/src/lib/c2pa.ts +0 -65
  19. package/src/lib/error.ts +0 -26
  20. package/src/lib/reader.ts +0 -150
  21. package/src/lib/settings.ts +0 -52
  22. package/src/lib/supportedFormats.ts +0 -72
  23. package/src/lib/worker/setupWorker.ts +0 -53
  24. package/src/lib/worker/workerManager.ts +0 -64
  25. package/src/lib/worker/workerObjectMap.ts +0 -35
  26. package/src/lib/worker/workerResponse.ts +0 -50
  27. package/src/lib/worker.ts +0 -77
  28. package/test/fixtures/assets/C_with_CAWG_data.jpg +0 -0
  29. package/test/fixtures/assets/C_with_CAWG_data.json +0 -144
  30. package/test/fixtures/assets/C_with_CAWG_data_thumbnail.jpg +0 -0
  31. package/test/fixtures/assets/C_with_CAWG_data_trusted.json +0 -149
  32. package/test/fixtures/assets/C_with_CAWG_data_untrusted.json +0 -157
  33. package/test/fixtures/assets/dash1.m4s +0 -0
  34. package/test/fixtures/assets/dashinit.json +0 -184
  35. package/test/fixtures/assets/dashinit.mp4 +0 -0
  36. package/test/fixtures/assets/no_alg.jpg +0 -0
  37. package/test/fixtures/trust/anchor-correct.pem +0 -15
  38. package/test/fixtures/trust/anchor-incorrect.pem +0 -16
  39. package/tsconfig.json +0 -13
  40. package/tsconfig.lib.json +0 -29
  41. package/tsconfig.spec.json +0 -36
  42. package/vite.config.ts +0 -91
@@ -1,144 +0,0 @@
1
- {
2
- "active_manifest": "urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d",
3
- "manifests": {
4
- "urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d": {
5
- "claim_generator_info": [
6
- {
7
- "name": "c2pa cawg test",
8
- "version": "0.58.0",
9
- "org.contentauth.c2pa_rs": "0.58.0"
10
- }
11
- ],
12
- "title": "C_with_CAWG_data.jpg",
13
- "instance_id": "xmp:iid:855872d9-5358-497e-b7b4-afca591277e1",
14
- "thumbnail": {
15
- "format": "image/jpeg",
16
- "identifier": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/c2pa.thumbnail.claim"
17
- },
18
- "ingredients": [],
19
- "assertions": [
20
- {
21
- "label": "c2pa.actions.v2",
22
- "data": {
23
- "actions": [
24
- {
25
- "action": "c2pa.created",
26
- "digitalSourceType": " http://cv.iptc.org/newscodes/digitalsourcetype/digitalCapture"
27
- }
28
- ],
29
- "allActionsIncluded": true
30
- }
31
- },
32
- {
33
- "label": "cawg.training-mining",
34
- "data": {
35
- "entries": {
36
- "cawg.ai_inference": {
37
- "use": "notAllowed"
38
- },
39
- "cawg.ai_generative_training": {
40
- "use": "notAllowed"
41
- }
42
- }
43
- }
44
- },
45
- {
46
- "label": "cawg.identity",
47
- "data": {
48
- "signer_payload": {
49
- "referenced_assertions": [
50
- {
51
- "url": "self#jumbf=c2pa.assertions/cawg.training-mining",
52
- "hash": "rBBgURB+/0Bc2Uk3+blNpYTGQTxOwzXQ2xhjA3gsqI4="
53
- },
54
- {
55
- "url": "self#jumbf=c2pa.assertions/c2pa.hash.data",
56
- "hash": "sASozh9KFSkW+cyMI0Pw5KYoD2qn7MkUEq9jUUhe/sM="
57
- }
58
- ],
59
- "sig_type": "cawg.x509.cose"
60
- },
61
- "signature_info": {
62
- "alg": "Ed25519",
63
- "issuer": "C2PA Test Signing Cert",
64
- "cert_serial_number": "638838410810235485828984295321338730070538954823",
65
- "revocation_status": true
66
- }
67
- }
68
- }
69
- ],
70
- "signature_info": {
71
- "alg": "Es256",
72
- "issuer": "C2PA Test Signing Cert",
73
- "cert_serial_number": "640229841392226413189608867977836244731148734950",
74
- "time": "2025-07-29T23:13:49+00:00"
75
- },
76
- "label": "urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d"
77
- }
78
- },
79
- "validation_results": {
80
- "activeManifest": {
81
- "success": [
82
- {
83
- "code": "timeStamp.validated",
84
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.signature",
85
- "explanation": "timestamp message digest matched: DigiCert SHA256 RSA4096 Timestamp Responder 2025 1"
86
- },
87
- {
88
- "code": "claimSignature.insideValidity",
89
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.signature",
90
- "explanation": "claim signature valid"
91
- },
92
- {
93
- "code": "claimSignature.validated",
94
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.signature",
95
- "explanation": "claim signature valid"
96
- },
97
- {
98
- "code": "assertion.hashedURI.match",
99
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/c2pa.thumbnail.claim",
100
- "explanation": "hashed uri matched: self#jumbf=c2pa.assertions/c2pa.thumbnail.claim"
101
- },
102
- {
103
- "code": "assertion.hashedURI.match",
104
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/c2pa.actions.v2",
105
- "explanation": "hashed uri matched: self#jumbf=c2pa.assertions/c2pa.actions.v2"
106
- },
107
- {
108
- "code": "assertion.hashedURI.match",
109
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/c2pa.hash.data",
110
- "explanation": "hashed uri matched: self#jumbf=c2pa.assertions/c2pa.hash.data"
111
- },
112
- {
113
- "code": "assertion.hashedURI.match",
114
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/cawg.training-mining",
115
- "explanation": "hashed uri matched: self#jumbf=c2pa.assertions/cawg.training-mining"
116
- },
117
- {
118
- "code": "assertion.hashedURI.match",
119
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/cawg.identity",
120
- "explanation": "hashed uri matched: self#jumbf=c2pa.assertions/cawg.identity"
121
- },
122
- {
123
- "code": "assertion.dataHash.match",
124
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/c2pa.hash.data",
125
- "explanation": "data hash valid"
126
- },
127
- {
128
- "code": "cawg.identity.well-formed",
129
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/cawg.identity",
130
- "explanation": "CAWG X.509 identity signature valid"
131
- }
132
- ],
133
- "informational": [
134
- {
135
- "code": "timeStamp.untrusted",
136
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.signature",
137
- "explanation": "timestamp cert untrusted: DigiCert SHA256 RSA4096 Timestamp Responder 2025 1"
138
- }
139
- ],
140
- "failure": []
141
- }
142
- },
143
- "validation_state": "Valid"
144
- }
@@ -1,149 +0,0 @@
1
- {
2
- "active_manifest": "urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d",
3
- "manifests": {
4
- "urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d": {
5
- "assertions": [
6
- {
7
- "data": {
8
- "actions": [
9
- {
10
- "action": "c2pa.created",
11
- "digitalSourceType": " http://cv.iptc.org/newscodes/digitalsourcetype/digitalCapture"
12
- }
13
- ],
14
- "allActionsIncluded": true
15
- },
16
- "label": "c2pa.actions.v2"
17
- },
18
- {
19
- "data": {
20
- "entries": {
21
- "cawg.ai_generative_training": {
22
- "use": "notAllowed"
23
- },
24
- "cawg.ai_inference": {
25
- "use": "notAllowed"
26
- }
27
- }
28
- },
29
- "label": "cawg.training-mining"
30
- },
31
- {
32
- "data": {
33
- "signature_info": {
34
- "alg": "Ed25519",
35
- "cert_serial_number": "638838410810235485828984295321338730070538954823",
36
- "issuer": "C2PA Test Signing Cert",
37
- "revocation_status": true
38
- },
39
- "signer_payload": {
40
- "referenced_assertions": [
41
- {
42
- "hash": "rBBgURB+/0Bc2Uk3+blNpYTGQTxOwzXQ2xhjA3gsqI4=",
43
- "url": "self#jumbf=c2pa.assertions/cawg.training-mining"
44
- },
45
- {
46
- "hash": "sASozh9KFSkW+cyMI0Pw5KYoD2qn7MkUEq9jUUhe/sM=",
47
- "url": "self#jumbf=c2pa.assertions/c2pa.hash.data"
48
- }
49
- ],
50
- "sig_type": "cawg.x509.cose"
51
- }
52
- },
53
- "label": "cawg.identity"
54
- }
55
- ],
56
- "claim_generator_info": [
57
- {
58
- "name": "c2pa cawg test",
59
- "org.contentauth.c2pa_rs": "0.58.0",
60
- "version": "0.58.0"
61
- }
62
- ],
63
- "ingredients": [],
64
- "instance_id": "xmp:iid:855872d9-5358-497e-b7b4-afca591277e1",
65
- "label": "urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d",
66
- "signature_info": {
67
- "alg": "Es256",
68
- "cert_serial_number": "640229841392226413189608867977836244731148734950",
69
- "issuer": "C2PA Test Signing Cert",
70
- "time": "2025-07-29T23:13:49+00:00"
71
- },
72
- "thumbnail": {
73
- "format": "image/jpeg",
74
- "identifier": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/c2pa.thumbnail.claim"
75
- },
76
- "title": "C_with_CAWG_data.jpg"
77
- }
78
- },
79
- "validation_results": {
80
- "activeManifest": {
81
- "failure": [],
82
- "informational": [
83
- {
84
- "code": "timeStamp.untrusted",
85
- "explanation": "timestamp cert untrusted: DigiCert SHA256 RSA4096 Timestamp Responder 2025 1",
86
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.signature"
87
- }
88
- ],
89
- "success": [
90
- {
91
- "code": "timeStamp.validated",
92
- "explanation": "timestamp message digest matched: DigiCert SHA256 RSA4096 Timestamp Responder 2025 1",
93
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.signature"
94
- },
95
- {
96
- "code": "signingCredential.trusted",
97
- "explanation": "signing certificate trusted, found in System trust anchors",
98
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.signature"
99
- },
100
- {
101
- "code": "claimSignature.insideValidity",
102
- "explanation": "claim signature valid",
103
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.signature"
104
- },
105
- {
106
- "code": "claimSignature.validated",
107
- "explanation": "claim signature valid",
108
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.signature"
109
- },
110
- {
111
- "code": "assertion.hashedURI.match",
112
- "explanation": "hashed uri matched: self#jumbf=c2pa.assertions/c2pa.thumbnail.claim",
113
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/c2pa.thumbnail.claim"
114
- },
115
- {
116
- "code": "assertion.hashedURI.match",
117
- "explanation": "hashed uri matched: self#jumbf=c2pa.assertions/c2pa.actions.v2",
118
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/c2pa.actions.v2"
119
- },
120
- {
121
- "code": "assertion.hashedURI.match",
122
- "explanation": "hashed uri matched: self#jumbf=c2pa.assertions/c2pa.hash.data",
123
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/c2pa.hash.data"
124
- },
125
- {
126
- "code": "assertion.hashedURI.match",
127
- "explanation": "hashed uri matched: self#jumbf=c2pa.assertions/cawg.training-mining",
128
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/cawg.training-mining"
129
- },
130
- {
131
- "code": "assertion.hashedURI.match",
132
- "explanation": "hashed uri matched: self#jumbf=c2pa.assertions/cawg.identity",
133
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/cawg.identity"
134
- },
135
- {
136
- "code": "assertion.dataHash.match",
137
- "explanation": "data hash valid",
138
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/c2pa.hash.data"
139
- },
140
- {
141
- "code": "cawg.identity.well-formed",
142
- "explanation": "CAWG X.509 identity signature valid",
143
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/cawg.identity"
144
- }
145
- ]
146
- }
147
- },
148
- "validation_state": "Trusted"
149
- }
@@ -1,157 +0,0 @@
1
- {
2
- "active_manifest": "urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d",
3
- "manifests": {
4
- "urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d": {
5
- "claim_generator_info": [
6
- {
7
- "name": "c2pa cawg test",
8
- "version": "0.58.0",
9
- "org.contentauth.c2pa_rs": "0.58.0"
10
- }
11
- ],
12
- "title": "C_with_CAWG_data.jpg",
13
- "instance_id": "xmp:iid:855872d9-5358-497e-b7b4-afca591277e1",
14
- "thumbnail": {
15
- "format": "image/jpeg",
16
- "identifier": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/c2pa.thumbnail.claim"
17
- },
18
- "ingredients": [],
19
- "assertions": [
20
- {
21
- "label": "c2pa.actions.v2",
22
- "data": {
23
- "actions": [
24
- {
25
- "action": "c2pa.created",
26
- "digitalSourceType": " http://cv.iptc.org/newscodes/digitalsourcetype/digitalCapture"
27
- }
28
- ],
29
- "allActionsIncluded": true
30
- }
31
- },
32
- {
33
- "label": "cawg.training-mining",
34
- "data": {
35
- "entries": {
36
- "cawg.ai_inference": {
37
- "use": "notAllowed"
38
- },
39
- "cawg.ai_generative_training": {
40
- "use": "notAllowed"
41
- }
42
- }
43
- }
44
- },
45
- {
46
- "label": "cawg.identity",
47
- "data": {
48
- "signer_payload": {
49
- "referenced_assertions": [
50
- {
51
- "url": "self#jumbf=c2pa.assertions/cawg.training-mining",
52
- "hash": "rBBgURB+/0Bc2Uk3+blNpYTGQTxOwzXQ2xhjA3gsqI4="
53
- },
54
- {
55
- "url": "self#jumbf=c2pa.assertions/c2pa.hash.data",
56
- "hash": "sASozh9KFSkW+cyMI0Pw5KYoD2qn7MkUEq9jUUhe/sM="
57
- }
58
- ],
59
- "sig_type": "cawg.x509.cose"
60
- },
61
- "signature_info": {
62
- "alg": "Ed25519",
63
- "issuer": "C2PA Test Signing Cert",
64
- "cert_serial_number": "638838410810235485828984295321338730070538954823",
65
- "revocation_status": true
66
- }
67
- }
68
- }
69
- ],
70
- "signature_info": {
71
- "alg": "Es256",
72
- "issuer": "C2PA Test Signing Cert",
73
- "cert_serial_number": "640229841392226413189608867977836244731148734950",
74
- "time": "2025-07-29T23:13:49+00:00"
75
- },
76
- "label": "urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d"
77
- }
78
- },
79
- "validation_status": [
80
- {
81
- "code": "signingCredential.untrusted",
82
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.signature",
83
- "explanation": "signing certificate untrusted"
84
- },
85
- {
86
- "code": "claimSignature.mismatch",
87
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.signature",
88
- "explanation": "claim signature is not valid"
89
- }
90
- ],
91
- "validation_results": {
92
- "activeManifest": {
93
- "success": [
94
- {
95
- "code": "timeStamp.validated",
96
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.signature",
97
- "explanation": "timestamp message digest matched: DigiCert SHA256 RSA4096 Timestamp Responder 2025 1"
98
- },
99
- {
100
- "code": "assertion.hashedURI.match",
101
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/c2pa.thumbnail.claim",
102
- "explanation": "hashed uri matched: self#jumbf=c2pa.assertions/c2pa.thumbnail.claim"
103
- },
104
- {
105
- "code": "assertion.hashedURI.match",
106
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/c2pa.actions.v2",
107
- "explanation": "hashed uri matched: self#jumbf=c2pa.assertions/c2pa.actions.v2"
108
- },
109
- {
110
- "code": "assertion.hashedURI.match",
111
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/c2pa.hash.data",
112
- "explanation": "hashed uri matched: self#jumbf=c2pa.assertions/c2pa.hash.data"
113
- },
114
- {
115
- "code": "assertion.hashedURI.match",
116
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/cawg.training-mining",
117
- "explanation": "hashed uri matched: self#jumbf=c2pa.assertions/cawg.training-mining"
118
- },
119
- {
120
- "code": "assertion.hashedURI.match",
121
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/cawg.identity",
122
- "explanation": "hashed uri matched: self#jumbf=c2pa.assertions/cawg.identity"
123
- },
124
- {
125
- "code": "assertion.dataHash.match",
126
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/c2pa.hash.data",
127
- "explanation": "data hash valid"
128
- },
129
- {
130
- "code": "cawg.identity.well-formed",
131
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.assertions/cawg.identity",
132
- "explanation": "CAWG X.509 identity signature valid"
133
- }
134
- ],
135
- "informational": [
136
- {
137
- "code": "timeStamp.untrusted",
138
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.signature",
139
- "explanation": "timestamp cert untrusted: DigiCert SHA256 RSA4096 Timestamp Responder 2025 1"
140
- }
141
- ],
142
- "failure": [
143
- {
144
- "code": "signingCredential.untrusted",
145
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.signature",
146
- "explanation": "signing certificate untrusted"
147
- },
148
- {
149
- "code": "claimSignature.mismatch",
150
- "url": "self#jumbf=/c2pa/urn:c2pa:822f2ec0-ef27-4d95-88b4-74586c12873d/c2pa.signature",
151
- "explanation": "claim signature is not valid"
152
- }
153
- ]
154
- }
155
- },
156
- "validation_state": "Invalid"
157
- }
Binary file
@@ -1,184 +0,0 @@
1
- {
2
- "active_manifest": "contoso:urn:uuid:FA0E000D-FA0E-000D-FA0E-000DFA0E000D",
3
- "manifests": {
4
- "contoso:urn:uuid:FA0E000D-FA0E-000D-FA0E-000DFA0E000D": {
5
- "assertions": [
6
- {
7
- "data": {
8
- "alg": "sha256",
9
- "exclusions": [
10
- {
11
- "xpath": "/ftyp"
12
- },
13
- {
14
- "data": [
15
- {
16
- "offset": 8,
17
- "value": "2P7D1hsOSDySl1goh37EgQ=="
18
- }
19
- ],
20
- "xpath": "/uuid"
21
- },
22
- {
23
- "xpath": "/mfra"
24
- }
25
- ],
26
- "merkle": [
27
- {
28
- "alg": "sha256",
29
- "count": 11,
30
- "hashes": [
31
- [
32
- 32,
33
- 27,
34
- 124,
35
- 253,
36
- 19,
37
- 16,
38
- 238,
39
- 99,
40
- 19,
41
- 245,
42
- 165,
43
- 233,
44
- 110,
45
- 225,
46
- 224,
47
- 222,
48
- 161,
49
- 102,
50
- 0,
51
- 71,
52
- 38,
53
- 206,
54
- 73,
55
- 77,
56
- 223,
57
- 1,
58
- 107,
59
- 162,
60
- 104,
61
- 32,
62
- 243,
63
- 9
64
- ],
65
- [
66
- 192,
67
- 181,
68
- 181,
69
- 219,
70
- 136,
71
- 29,
72
- 104,
73
- 246,
74
- 176,
75
- 186,
76
- 209,
77
- 51,
78
- 55,
79
- 131,
80
- 205,
81
- 169,
82
- 239,
83
- 127,
84
- 116,
85
- 236,
86
- 64,
87
- 87,
88
- 223,
89
- 54,
90
- 112,
91
- 105,
92
- 28,
93
- 230,
94
- 157,
95
- 81,
96
- 34,
97
- 38
98
- ],
99
- [
100
- 153,
101
- 235,
102
- 245,
103
- 57,
104
- 193,
105
- 14,
106
- 6,
107
- 251,
108
- 138,
109
- 167,
110
- 158,
111
- 186,
112
- 20,
113
- 9,
114
- 28,
115
- 207,
116
- 137,
117
- 31,
118
- 115,
119
- 195,
120
- 30,
121
- 109,
122
- 233,
123
- 70,
124
- 144,
125
- 84,
126
- 8,
127
- 59,
128
- 16,
129
- 37,
130
- 141,
131
- 201
132
- ]
133
- ],
134
- "initHash": "I06fNAlptpr/4DcJZ/wIMRgd0bb6qygVCrodNQhhvbI=",
135
- "localId": 1,
136
- "uniqueId": 1
137
- }
138
- ]
139
- },
140
- "label": "c2pa.hash.bmff.v2"
141
- }
142
- ],
143
- "claim_generator": "drmprovenancemanifestbuilder/1.0",
144
- "claim_generator_info": [
145
- {
146
- "name": "Test provenance manaifest builder"
147
- }
148
- ],
149
- "format": "video/mp4",
150
- "ingredients": [],
151
- "instance_id": "1.0",
152
- "label": "contoso:urn:uuid:FA0E000D-FA0E-000D-FA0E-000DFA0E000D",
153
- "signature_info": {
154
- "alg": "Es256",
155
- "cert_serial_number": "231582073800106855458784768030131201943489567163",
156
- "issuer": "Media Publisher Company"
157
- }
158
- }
159
- },
160
- "validation_results": {
161
- "activeManifest": {
162
- "failure": [],
163
- "informational": [],
164
- "success": [
165
- {
166
- "code": "claimSignature.insideValidity",
167
- "explanation": "claim signature valid",
168
- "url": "self#jumbf=/c2pa/contoso:urn:uuid:FA0E000D-FA0E-000D-FA0E-000DFA0E000D/c2pa.signature"
169
- },
170
- {
171
- "code": "claimSignature.validated",
172
- "explanation": "claim signature valid",
173
- "url": "self#jumbf=/c2pa/contoso:urn:uuid:FA0E000D-FA0E-000D-FA0E-000DFA0E000D/c2pa.signature"
174
- },
175
- {
176
- "code": "assertion.hashedURI.match",
177
- "explanation": "hashed uri matched: self#jumbf=c2pa/contoso:urn:uuid:FA0E000D-FA0E-000D-FA0E-000DFA0E000D/c2pa.assertions/c2pa.hash.bmff.v2",
178
- "url": "self#jumbf=c2pa/contoso:urn:uuid:FA0E000D-FA0E-000D-FA0E-000DFA0E000D/c2pa.assertions/c2pa.hash.bmff.v2"
179
- }
180
- ]
181
- }
182
- },
183
- "validation_state": "Valid"
184
- }
Binary file
Binary file
@@ -1,15 +0,0 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIICUzCCAfmgAwIBAgIUdmkq4byvgk2FSnddHqB2yjoD68gwCgYIKoZIzj0EAwIw
3
- dzELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNBMRIwEAYDVQQHDAlTb21ld2hlcmUx
4
- GjAYBgNVBAoMEUMyUEEgVGVzdCBSb290IENBMRkwFwYDVQQLDBBGT1IgVEVTVElO
5
- R19PTkxZMRAwDgYDVQQDDAdSb290IENBMB4XDTIyMDYxMDE4NDY0MFoXDTMyMDYw
6
- NzE4NDY0MFowdzELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNBMRIwEAYDVQ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