pub trait TrustRootResolver {
// Required method
fn trust_root_scope_hash(&self, issuer: &PublicKey) -> Option<ScopeHash>;
}Expand description
Resolver returning the trust-root scope hash bound to a given issuer
public key. Kernels supply this so the verifier can bind
attenuation_proof.parent_scope_hash to the issuing CA’s authority
hash on direct-issue attenuated tokens.
Required Methods§
Sourcefn trust_root_scope_hash(&self, issuer: &PublicKey) -> Option<ScopeHash>
fn trust_root_scope_hash(&self, issuer: &PublicKey) -> Option<ScopeHash>
Resolve the trust-root scope hash for issuer, returning None
when the issuer has no registered authority hash. The verifier
treats None as a fail-closed deny for attenuated tokens that require
chain binding.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".