1#ifndef SAFEHERON_SGX_UNTRUSTED_ATTESTATION_T_H_
2#define SAFEHERON_SGX_UNTRUSTED_ATTESTATION_T_H_
11namespace attestation_u {
58 bool VerifyReport(
const uint8_t user_data[64],
const std::string& report, std::string& enclave_id);
67 bool VerifyReport(
const std::string& user_info,
const std::string& report, std::string& enclave_id);
79 bool VerifyReport(
const std::string& user_info, uint64_t timestamp, uint64_t validity_seconds,
80 const std::string& report, std::string& enclave_id);
100 std::string error_msg_;
The class for Intel DCAP remote attestation.
Definition ssgx_attestation_u.h:44
ErrorCode GetLastErrorCode() const
Get the error code.
Definition ssgx_attestation_u.h:86
bool VerifyReport(const std::string &user_info, const std::string &report, std::string &enclave_id)
Verify a remote attestation report within a Untrusted Execution Environment.
bool VerifyReport(const std::string &user_info, uint64_t timestamp, uint64_t validity_seconds, const std::string &report, std::string &enclave_id)
Verify a remote attestation report within a Untrusted Execution Environment.
std::string GetLastErrorMsg() const
Get the error message.
Definition ssgx_attestation_u.h:94
RemoteAttestor()
Definition ssgx_attestation_u.h:46
bool VerifyReport(const uint8_t user_data[64], const std::string &report, std::string &enclave_id)
Verify a remote attestation report within a Untrusted Execution Environment.
ErrorCode
Error codes definition.
Definition ssgx_attestation_u.h:20
@ GetSupplementSizeFailed
Definition ssgx_attestation_t.h:6