pub fn decoder<'a>(container: &Container<'a>) -> Result<Verified<'a>, Untrusted>Expand description
Hashes the decoder embedded in a container and hands it over only if the hash matches.
This is Policy::decoder under the default policy, which runs embedded decoders and nothing
else. A host that means to run a decoder from somewhere else says so by building a Policy
with a resolver.
ยงErrors
See Policy::decoder.