pub fn build_resolver(
manifest: &ProofEnrollmentManifest,
foreign_protocol_keys: &HashSet<Vec<u8>>,
exception_policy_ids: &HashSet<String>,
now: u64,
) -> InMemoryEnrollmentResolverExpand description
Build the resolver from a manifest.
foreign_protocol_keys is the set of public keys already enrolled for
another protocol — in practice the mesh/envelope identities. An entry
reusing one of them is rejected unless it names an exception policy, which
is how §4.4’s “an exception requires a separate operator-approved analysis
and an explicit enrollment-policy identifier” is enforced rather than
assumed.
A rejected entry is skipped with an error log; it is never enrolled under partial or substituted material.