Skip to main content

LedgerAttestationVerifier

Trait LedgerAttestationVerifier 

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

Required Methods§

Source

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

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

Implementors§