diff --git a/Cargo.toml b/Cargo.toml index 70b82d0..f0c16f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,8 @@ crate-type = ["lib", "cdylib"] normal = ["openssl-src"] [dependencies] -c2pa = {version = "0.40.0", features = ["unstable_api", "file_io", "openssl", "pdf", "fetch_remote_manifests"]} +c2pa = {version = "0.41.0", features = ["unstable_api", "file_io", "openssl", "pdf", "fetch_remote_manifests"]} +c2pa-crypto = {version = "0.3.0" } thiserror = "1.0.49" uniffi = "0.28.2" openssl-src = "=300.3.1" # Required for openssl-sys diff --git a/src/callback_signer.rs b/src/callback_signer.rs index 4be2d3e..a0ade42 100644 --- a/src/callback_signer.rs +++ b/src/callback_signer.rs @@ -11,6 +11,7 @@ // each license. use c2pa::{Signer, SigningAlg}; +use c2pa_crypto::raw_signature::RawSigner; use log::debug; use crate::Result; @@ -57,6 +58,10 @@ impl Signer for RemoteSigner { fn direct_cose_handling(&self) -> bool { true } + + fn raw_signer(&self) -> Box<&dyn RawSigner> { + todo!() + } } impl CallbackSigner {