c2pa-cpp v0.27.0
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(std::shared_ptr<IContextProvider>, manifest_json) instead. Will be removed when c2pa-c moves to c2pa-rs 0.92.0.
Member c2pa::Builder::format_embeddable (const std::string &format, std::vector< unsigned char > &data)
Use sign_embeddable(format), which returns manifest bytes already formatted for embedding. Will be removed when c2pa-c moves to c2pa-rs 0.92.0.
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::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(std::shared_ptr<IContextProvider>, format, stream) instead. Will be removed when c2pa-c moves to c2pa-rs 0.92.0.
Member c2pa::Reader::Reader (const std::filesystem::path &source_path)
Use Reader(std::shared_ptr<IContextProvider>, source_path) instead. Will be removed when c2pa-c moves to c2pa-rs 0.92.0.