Skip to main content

classify_reference

Function classify_reference 

Source
pub fn classify_reference(reference: &str) -> Result<Reference, Error>
Expand description

Classify and resolve a reference string as extracted from a manifest block.

A data:application/c2pa;base64, URI is decoded to the manifest bytes. Any other value is treated as an external URI and returned verbatim; resolving it over the network is the caller’s responsibility (see the remote feature).