19 #ifndef ASYLO_IDENTITY_DESCRIPTIONS_H_ 20 #define ASYLO_IDENTITY_DESCRIPTIONS_H_ 22 #include "asylo/identity/attestation/null/internal/null_identity_constants.h" 23 #include "asylo/identity/identity.pb.h" 24 #include "asylo/identity/platform/sgx/internal/code_identity_constants.h" 32 AssertionDescription *assertion_description) {
33 assertion_description->set_identity_type(EnclaveIdentityType::NULL_IDENTITY);
34 assertion_description->set_authority_type(kNullAssertionAuthority);
41 EnclaveIdentityDescription *identity_description) {
42 identity_description->set_identity_type(EnclaveIdentityType::NULL_IDENTITY);
43 identity_description->set_authority_type(kNullAuthorizationAuthority);
50 AssertionDescription *assertion_description) {
51 assertion_description->set_identity_type(EnclaveIdentityType::CODE_IDENTITY);
52 assertion_description->set_authority_type(sgx::kSgxLocalAssertionAuthority);
60 AssertionDescription *assertion_description) {
61 assertion_description->set_identity_type(EnclaveIdentityType::CODE_IDENTITY);
62 assertion_description->set_authority_type(
63 sgx::kSgxAgeRemoteAssertionAuthority);
71 AssertionDescription *assertion_description) {
72 assertion_description->set_identity_type(EnclaveIdentityType::CODE_IDENTITY);
73 assertion_description->set_authority_type(
74 sgx::kSgxIntelEcdsaQeRemoteAssertionAuthority);
81 EnclaveIdentityDescription *identity_description) {
82 identity_description->set_identity_type(EnclaveIdentityType::CODE_IDENTITY);
83 identity_description->set_authority_type(sgx::kSgxAuthorizationAuthority);
void SetSgxLocalAssertionDescription(AssertionDescription *assertion_description)
Sets assertion_description to describe an SGX local assertion.
Definition: descriptions.h:49
void SetSgxAgeRemoteAssertionDescription(AssertionDescription *assertion_description)
Sets assertion_description to describe an SGX remote assertion generated by the Assertion Generator E...
Definition: descriptions.h:59
void SetSgxIdentityDescription(EnclaveIdentityDescription *identity_description)
Sets identity_description to describe an SGX identity.
Definition: descriptions.h:80
void SetNullIdentityDescription(EnclaveIdentityDescription *identity_description)
Sets identity_description to describe a null identity.
Definition: descriptions.h:40
ABSL_CONST_INIT const char kStatusMoveAssignmentMsg[]
void SetNullAssertionDescription(AssertionDescription *assertion_description)
Sets assertion_description to describe a null assertion.
Definition: descriptions.h:31
void SetSgxIntelEcdsaQeRemoteAssertionDescription(AssertionDescription *assertion_description)
Sets assertion_description to describe an SGX remote assertion generated by the Intel ECDSA Quoting E...
Definition: descriptions.h:70