Module attestation::mock
source · Expand description
Helpers functions for tests.
Functions are split into internal functions and public functions. Public functions are generic for any runtime, so that they can be reused in other tests. Internal functions/structs can only be used in attestation tests.
Structs
- Authorize iff the subject of the origin and the provided attester id match.