pub fn verify_authorization(
advertisement: &Verified,
trust: &Trust,
now_ms: i64,
) -> Result<(), RecordError>Expand description
A caller’s check of a verified procedure advertisement’s provider
authorization against the realm it trusts, at now_ms. An org procedure
needs an org directory and a procedure delegation, and the realm key: the
directory must verify, carry the realm key and name the advertisement’s
realm and the procedure’s org; the delegation must verify, signed by the
org key the directory names, for the advertiser; and the advertisement
expires no later than either.