Skip to main content

C2PA iOS Example

Overview

This is an iOS example app "c2pa-cam" based on Apple's Sample Code AVCam

It was augmented to demonstrate the usage of the C2PA iOS library to make an iOS application into a C2PA claim generator.

For more information about C2PA and the mobile libraries, see the C2PA open-source SDK documentation site.

How it works

When a image or video is captured by the camera, the sample app will create, embed, and cryptographically sign a minimal C2PA v2.2+ manifest stating the creation provenance of the asset.

NOTE: This sample currently uses invalid test keys.

Validation

Validate your signed images and videos with the command line c2patool or use an online validator such as ACA Inspect or ProofCheck.

Note: If you are using a test certificate, some tools will display "untrusted" or "unknown" for the claim signer identity.

Author, License

The modifications to Apple's AvCam sample were authored by Benjamin Erhart, Die Netzarchitekten e.U. for Guardian Project and Proofmode.

Licensed under MIT and Apache licenses.

Some components may be licensed under the Apple license; check the license terms for each file for details.