Types

Link copied to clipboard

The attestation report itself is not signed by a trusted AMD chain or otherwise fails report-level verification.

Link copied to clipboard
class ChachaBoxBindingMismatch(message: String = "sha256(chachaBox) does not match report_data[0..32)") : KeySettlementError

The sealed ChaChaBox is not authenticated by the attestation report (sha256 of the box does not match the first 32 bytes of report_data).

Link copied to clipboard
class ChachaBoxDecryptFailed(message: String, cause: Throwable? = null) : KeySettlementError

Decrypting the sealed ChaChaBox with the client's secret key failed.

Link copied to clipboard
class InvalidSealedPayload(message: String, cause: Throwable? = null) : KeySettlementError

The plaintext decrypted from the ChaChaBox is structurally invalid (not JSON, missing fields, etc.).

Link copied to clipboard
class MalformedResponse(message: String, cause: Throwable? = null) : KeySettlementError

The settlement response body could not be parsed (invalid JSON or base64).

Link copied to clipboard
class MeasurementMismatch(message: String = "system-version launch measurement does not match attestation report measurement") : KeySettlementError

The launch measurement authenticated via the system-version signature does not match the measurement reported inside the attestation report, the TEE is not the one YAXI is expecting to operate.

Link copied to clipboard

Sealing/unsealing was attempted before settlement completed.

Link copied to clipboard
class SystemVersionInvalid(message: String, cause: Throwable? = null) : KeySettlementError

The system-version entry accompanying the report is malformed or is not signed by a known YAXI system-version key.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?