SgxIdentityExpectationMatcher
is capable of matching SGX identities with SGX identity expectations.
More...
#include <sgx_identity_expectation_matcher.h>
SgxIdentityExpectationMatcher
is capable of matching SGX identities with SGX identity expectations.
◆ SgxIdentityExpectationMatcher()
asylo::SgxIdentityExpectationMatcher::SgxIdentityExpectationMatcher |
( |
| ) |
|
|
default |
◆ ~SgxIdentityExpectationMatcher()
asylo::SgxIdentityExpectationMatcher::~SgxIdentityExpectationMatcher |
( |
| ) |
|
|
overridedefault |
◆ Description()
EnclaveIdentityDescription asylo::SgxIdentityExpectationMatcher::Description |
( |
| ) |
const |
|
overridevirtual |
◆ MatchAndExplain()
StatusOr<bool> asylo::SgxIdentityExpectationMatcher::MatchAndExplain |
( |
const EnclaveIdentity & |
identity, |
|
|
const EnclaveIdentityExpectation & |
expectation, |
|
|
std::string * |
explanation |
|
) |
| const |
|
overridevirtual |
From the IdentityExpectationMatcher
interface.
- Parameters
-
| identity | An identity to match. |
| expectation | The identity expectation to match against. |
[out] | explanation | An explanation of why the match failed, if the return value was false. |
- Returns
- A bool indicating whether the match succeeded, or a non-OK Status in the case of invalid arguments.
Implements asylo::IdentityExpectationMatcher.
The documentation for this class was generated from the following file: