Skip to main content

AttestationIndependencePolicy

Trait AttestationIndependencePolicy 

Source
pub trait AttestationIndependencePolicy {
    // Required method
    fn require_independence(
        &self,
        mac: &AcceptedAuthority,
        ledger: &AcceptedAuthority,
    ) -> Result<(), ContractError>;
}
Expand description

Deployment policy for the separation of the two signing authorities. Default deployments reject a shared accepted root or signer. Service or host co-location is not itself evidence of independence: if it lets one compromise control both roots/keys, this policy must reject the deployment or the deployment has explicitly accepted that residual risk outside this contract.

Required Methods§

Implementors§