pub fn verify_signed_document_with_anchors(
document: &SignedDocument,
trust: TrustAnchors<'_>,
) -> Result<VerifiedPayload>Expand description
Verifies a signed document against anchors from either source.
The one to reach for when the document is not a release — a channel or a revocations document has no consumer entry point of its own, and this keeps it on the same trust resolution.