Skip to main content

MacAttestationVerifier

Trait MacAttestationVerifier 

Source
pub trait MacAttestationVerifier {
    // Required method
    fn verify_accepted_current(
        &self,
        intent: &CanonicalResourceIntent,
        candidate: &MacAttestationCandidate,
    ) -> Result<VerifiedEvidence, ContractError>;
}

Required Methods§

Source

fn verify_accepted_current( &self, intent: &CanonicalResourceIntent, candidate: &MacAttestationCandidate, ) -> Result<VerifiedEvidence, ContractError>

Verify the envelope and resolve it under the MAC accepted-current root.

Implementors§