Documentation
¶
Overview ¶
Package teeattestation provides platform-agnostic primitives for TEE attestation validation. Platform-specific validators (e.g. AWS Nitro) live in subpackages.
Index ¶
Constants ¶
View Source
const DomainSeparator = "CONFIDENTIAL_COMPUTE_PAYLOAD"
DomainSeparator is prepended to attestation payloads before hashing.
Variables ¶
This section is empty.
Functions ¶
func DomainHash ¶
DomainHash computes SHA-256 over DomainSeparator + "\n" + tag + "\n" + data. This is the standard domain-separated hash used for attestation UserData throughout the system.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package nitro provides AWS Nitro Enclave attestation validation.
|
Package nitro provides AWS Nitro Enclave attestation validation. |
|
fake
Package fake provides a FakeAttestor that produces structurally valid COSE Sign1 attestation documents.
|
Package fake provides a FakeAttestor that produces structurally valid COSE Sign1 attestation documents. |
Click to show internal directories.
Click to hide internal directories.