c2patool_dart library

Programmatic entry points for the c2patool command-line application.

Classes

C2paCli
In-process implementation of the c2patool_dart command-line interface.
CliExitCode
Process exit codes used by c2patool_dart.
CliResult
Result produced by running a CLI command in-process.
LocalKeyC2paSigner
Signs with a local PEM/DER private key by invoking OpenSSL without a shell.
SubprocessC2paSigner
A signer subprocess using a deliberately small, shell-free protocol.

Constants

c2patoolVersion → const String
Development version string reported by the command-line interface.

Functions

runC2paCli(List<String> arguments, {IOSink? stdoutSink, IOSink? stderrSink}) → Future<int>
Runs c2patool_dart with arguments and writes buffered output to sinks.

Exceptions / Errors

SubprocessSignerException
Failure reported by a subprocess-based C2PA signer.