pub fn embed(html: &[u8], store: &[u8]) -> Result<Vec<u8>, Error>Expand description
Embed a Manifest Store inline, as a script element in the document head.
Any existing C2PA manifest elements are removed first, so embedding twice
replaces rather than accumulates. Fails with Error::NoHead if the
document has no </head>.
The specification prefers embed_reference; use this when the manifest
must travel with the document.