c2pa_flutter 0.1.0
c2pa_flutter: ^0.1.0 copied to clipboard
Combined read/write C2PA Flutter plugin with manifest signing and certificate management. Uses the official c2pa-rs Rust library via FFI.
0.1.0 #
Initial release with combined read/write C2PA support.
Features #
- Read C2PA manifests from JPEG, PNG, TIFF, WebP, and DNG files.
- Build manifests with the fluent
ManifestBuilderAPI. - 40+ action factories via
C2paActionscovering the full C2PA and CAWG vocabulary. - Sign manifests using PEM keys (
FileSigner) or platform keystores (PlatformSigner). - iOS Keychain and Android Keystore signing support.
- AI/ML content tracking with
DigitalSourceTypeand training-mining assertions. - Domain entities for
Manifest,ManifestStore,Action,Ingredient,SignatureInfo, and more. - Full C2PA exception hierarchy for structured error handling.
Powered by #
- c2pa-rs v0.75 via Flutter Rust Bridge v2.11.1.
- Supports both
c2pa.actions(v1) andc2pa.actions.v2assertion labels. - Handles
claim_generator(string) andclaim_generator_info(array) JSON formats.
Example App #
- Read tab with 5 bundled C2PA test images demonstrating different manifest structures.
- Write tab with end-to-end signing, brightness editing, and re-signing with tracked actions.
- Cross-tab "Load Last Signed Image" for verifying signed images on the Read tab.