Перейти к содержимому

Official Tools & Libraries

Это содержимое пока не доступно на вашем языке.

Official tools and SDKs maintained by the C2PA organization and Content Authenticity Initiative.

c2pa-rs - Reference implementation

  • Official Rust SDK for creating and validating C2PA manifests
  • Most complete and up-to-date implementation
  • Used as the basis for other language bindings
Terminal window
cargo add c2pa

c2pa-node-v2 - Node.js bindings

  • Official Node.js bindings for the C2PA Rust SDK
  • Works in Node.js environments
  • Full support for signing and verification
Terminal window
npm install c2pa-node

c2pa-js - Browser library

  • JavaScript library for reading C2PA manifests in browsers
  • Client-side verification
  • Lightweight and fast
Terminal window
npm install c2pa

c2pa-python - Python bindings

  • Official Python bindings for the C2PA Rust SDK
  • Easy integration with Python projects
Terminal window
pip install c2pa-python

c2pa-java - Java bindings

  • Java bindings for the C2PA SDK
  • Integration with Java applications

c2pa-rs/cli - Official command-line tool

Features:

  • Create, read, and validate C2PA content
  • Cross-platform: Windows, macOS, Linux
  • Supports images, videos, audio

Installation:

Terminal window
# Via cargo
cargo install c2pa-cli
# Via npm
npm install -g c2pa-cli

Usage examples:

Terminal window
# Read manifest
c2pa image.jpg
# Sign a file
c2pa sign input.jpg output.jpg --manifest manifest.json
# Verify
c2pa verify image.jpg

contentcredentials.org/verify

  • Official web tool for verifying C2PA content
  • Drag-and-drop interface
  • No installation required