c2pa-cpp
C++ API for the C2PA SDK
Loading...
Searching...
No Matches
Deprecated List
Member c2pa::Builder::Builder (IContextProvider &context)
Use Builder(std::shared_ptr<IContextProvider>) instead. The reference overload does not extend the lifetime of the context, which can be problematic when progress callbacks fire after the context is destroyed.
Member c2pa::Builder::Builder (IContextProvider &context, const std::string &manifest_json)
Use Builder(std::shared_ptr<IContextProvider>, manifest_json) instead. The reference overload does not extend the lifetime of the context, which can be problematic when progress callbacks fire after the context is destroyed.
Member c2pa::Builder::Builder (const std::string &manifest_json)
Use Builder(IContextProvider& context, manifest_json) instead.
Member c2pa::Builder::set_base_path (const std::string &base_path)
This method is planned to be deprecated in a future release. Usage should be limited and temporary. Use add_resource instead.
Member c2pa::Builder::sign (const std::string &format, std::istream &source, std::ostream &dest, Signer &signer)
Use sign(const string&, std::istream&, std::iostream&, Signer&) instead.
Member c2pa::load_settings (const std::string &data, const std::string &format)
Use Context constructors or Context::ContextBuilder instead for better thread safety.
Member c2pa::read_file (const std::filesystem::path &source_path, const std::optional< std::filesystem::path > data_dir=std::nullopt)
Use Reader object instead.
Member c2pa::read_ingredient_file (const std::filesystem::path &source_path, const std::filesystem::path &data_dir)
Use Reader and Builder.add_ingredient instead.
Member c2pa::Reader::from_asset (IContextProvider &context, const std::filesystem::path &source_path)
Use from_asset(std::shared_ptr<IContextProvider>, source_path) instead. The reference overload does not extend the lifetime of the context, which can cause a use-after-free crash when progress callbacks fire after the context is destroyed.
Member c2pa::Reader::from_asset (IContextProvider &context, const std::string &format, std::istream &stream)
Use from_asset(std::shared_ptr<IContextProvider>, format, stream) instead. The reference overload does not extend the lifetime of the context, which can cause a use-after-free crash when progress callbacks fire after the context is destroyed.
Member c2pa::Reader::Reader (IContextProvider &context, const std::string &format, std::istream &stream)
Use Reader(std::shared_ptr<IContextProvider>, format, stream) instead. The reference overload does not extend the lifetime of the context, which can be problematic when progress callbacks fire after the context is destroyed.
Member c2pa::Reader::Reader (IContextProvider &context, const std::filesystem::path &source_path)
Use Reader(std::shared_ptr<IContextProvider>, source_path) instead. The reference overload does not extend the lifetime of the context, which can be problematic when progress callbacks fire after the context is destroyed.
Member c2pa::Reader::Reader (const std::string &format, std::istream &stream)
Use Reader(IContextProvider& context, format, stream) instead.
Member c2pa::Reader::Reader (const std::filesystem::path &source_path)
Use Reader(IContextProvider& context, source_path) instead.
Member c2pa::sign_file (const std::filesystem::path &source_path, const std::filesystem::path &dest_path, const char *manifest, SignerInfo *signer_info, const std::optional< std::filesystem::path > data_dir=std::nullopt)
Use Builder.sign instead.