quartz-tee-ra 0.3.0

Internal CosmWasm library for handling Intel SGX DCAP remote attestations.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

pub mod dcap;

#[derive(Error, Debug)]
pub enum Error {
    #[error("Specified user data does not match the report")]
    UserDataMismatch,
    #[error("Specified MRENCLAVE does not match the report")]
    MrEnclaveMismatch,
    #[error("DCAP specific error: {0:?}")]
    Dcap(Box<dcap::VerificationOutput<dcap::DcapVerifierOutput>>),
}