Skip to main content

MacAuthority

Trait MacAuthority 

Source
pub trait MacAuthority {
    // Required methods
    fn attest(
        &self,
        intent: &CanonicalResourceIntent,
    ) -> Result<MacAttestationCandidate, AuthorityError>;
    fn revalidate(
        &self,
        intent: &CanonicalResourceIntent,
        attestation: &MacAttestationCandidate,
    ) -> Result<(), AuthorityError>;
}

Required Methods§

Implementors§