CallbackC2paSigner class final
C2paSigner adapter backed by a C2paSignCallback.
- Implemented types
Constructors
- CallbackC2paSigner({required String algorithm, required C2paSignCallback callback, int reservedSignatureSize = 0})
-
Creates a callback-backed signer.
const
Properties
- algorithm → String
-
Signature algorithm name passed through to C2PA metadata.
final
- callback → C2paSignCallback
-
Callback invoked by sign.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reservedSignatureSize → int
-
Reserved signature size in bytes for placeholder workflows.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
Uint8List data) → Future< Uint8List> -
Signs
dataand returns the raw signature bytes.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited