# eu-digital-identity-wallet/eudi-srv-wallet-provider architecture

> Architecture diagram of the GitHub repository eu-digital-identity-wallet/eudi-srv-wallet-provider, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-04-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/eu-digital-identity-wallet/eudi-srv-wallet-provider
- Repository: https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider

## Overview

1. **Purpose and scope**
   - This repository implements a **Wallet Provider** service for EUDI/OpenID4VCI issuance flows.
   - It exposes HTTP endpoints for **challenge generation**, **Wallet Instance Attestation (WIA)** issuance, **Wallet Unit Attestation (WUA)** issuance, and discovery metadata.
   - The service is intentionally positioned as a **testing/development** implementation, with optional attestation validation.

2. **Top-level architecture**
   - The code is organized as a **hexagonal / ports-and-adapters** service inside `wallet-provider-service`.
   - The main layers are:
     - `domain`: immutable business model and specifications
     - `port/input`: application use cases
     - `port/output`: outbound contracts to crypto, attestation validation, and status-list services
     - `adapter`: concrete implementations of those contracts
     - `config`: HTTP routes and runtime wiring

3. **Process entrypoint and runtime**
   - `Main.kt` is the service entrypoint.
   - The application appears to run as a **single JVM server process** with configuration-driven startup/shutdown behavior.
   - The service is designed to be containerized; the root repo includes Docker/OCI publishing workflow definitions and runtime configuration via environment variables.

4. **HTTP API surface**
   - The `config/*Routes.kt` files define the public API:
     - `ChallengeRoutes.kt` for issuing single-use challenges
     - `WalletInstanceAttestationRoutes.kt` for WIA issuance
     - `WalletUnitAttestationRoutes.kt` for WUA issuance
     - `MetadataRoutes.kt` for well-known discovery endpoints
   - OpenAPI is checked in under `openapi/openapi.json`, and Swagger UI can serve it from a configurable path.

5. **Core business domain**
   - The domain model is split by capability:
     - `walletinstanceattestation`
     - `walletunitattestation`
     - `keyattestation`
     - `tokenstatuslist`
     - `walletinformation`
     - `time`
   - This tells you the service is centered on **attestation issuance** and the associated claims, validity windows, and signing-time semantics rather than generic wallet management.

6. **Use-case orchestration**
   - Input ports in `port/input` define the application workflows:
     - `GenerateChallenge`
     - `IssueWalletInstanceAttestation`
     - `IssueWalletUnitAttestation`
   - These are the primary orchestration boundaries: routes call use cases; use cases compose domain rules and outbound services; adapters provide concrete crypto/validation behavior.

7. **Outbound integrations and cryptography**
   - The `port/output` interfaces abstract:
     - challenge validation
     - JWT signing and signature validation
     - platform key attestation validation
     - status list token generation
   - Concrete adapters in `adapter/jose`, `adapter/keyattestation`, and `adapter/tokenstatuslist` implement those capabilities.
   - This keeps signing/validation concerns isolated from the attestation issuance logic.

8. **Attestation issuance data flow**
   - The issuance flow is:
     1. client requests a challenge
     2. client includes that challenge in platform key attestation data
     3. client submits a WIA or WUA issuance request
     4. server validates the challenge and, optionally, validates the platform key attestation
     5. server signs and returns the attestation
   - The README makes a key distinction between:
     - **mock mode**: no attestation validation, issue directly
     - **validated mode**: verify Android/iOS platform key attestations using Warden Supreme-based validation

9. **External systems and optional dependencies**
   - The service can optionally validate platform attestations using the **Warden Supreme Attestation Library**.
   - It can also optionally call an external **status list service** (`eudi-srv-statuslist-py`) to embed Token Status List tokens in issued Wallet Instance Attestations.
   - These integrations are feature flags / configuration-driven, so the service can run without them.

10. **Configuration and trust boundaries**
   - Most operational behavior is controlled via environment variables in `WalletProviderConfiguration.kt` and `WalletProviderApplicationConfiguration.kt`.
   - Important configuration domains are:
     - server lifecycle and bind port
     - issuer identity and public URL
     - signing key material / keystore
     - challenge length and validity
     - attestation validity windows
     - wallet metadata fields
     - optional platform-attestation validation rules
     - optional token-status-list integration
   - This makes configuration the main boundary between deployment environment and application logic.

11. **Discovery and metadata**
   - The service publishes **Protected Resource Metadata** at `/.well-known/oauth-protected-resource`.
   - It also ships an OpenAPI document and Swagger UI support, so discovery is part of the public contract, not just documentation.
   - This is important for diagramming because metadata endpoints are a separate concern from attestation issuance.

12. **Testing and quality surface**
   - Tests are present under `src/test/kotlin`, including coverage for the main app and WIA issuance behavior.
   - Repo-level CI includes dependency checks, secret scanning, Sonar, and container publishing workflows, which supports a release-oriented but still development-focused service.

Main entry points: [`wallet-provider-service/src/main/kotlin/port/input/walletinstanceattestation/IssueWalletInstanceAttestation.kt`](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/port/input/walletinstanceattestation/IssueWalletInstanceAttestation.kt) (Issue WIA), [`wallet-provider-service/src/main/kotlin/port/input/walletunitattestation/IssueWalletUnitAttestation.kt`](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/port/input/walletunitattestation/IssueWalletUnitAttestation.kt) (Issue WUA), [`wallet-provider-service/src/main/kotlin/config/WalletProviderApplicationConfiguration.kt`](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/config/WalletProviderApplicationConfiguration.kt) (App Config), [`wallet-provider-service/src/main/kotlin/config/WalletProviderConfiguration.kt`](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/config/WalletProviderConfiguration.kt) (Service Config)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_service["Wallet Provider Service"]
end

subgraph group_core["Core Logic"]
  node_challenge_uc["Generate Challenge<br/>use case"]
  node_wia_uc["Issue WIA<br/>use case"]
  node_wua_uc["Issue WUA<br/>use case"]
  node_domain_wia{{"WIA Model<br/>domain model"}}
  node_domain_wua{{"WUA Model<br/>domain model"}}
  node_wallet_info{{"Wallet Info<br/>domain model"}}
  node_time(("Clock<br/>domain service<br/>[Clock.kt]"))
  node_specs{{"Specs<br/>domain rules<br/>[Specs.kt]"}}
  node_challenge_port["Challenge Port<br/>outbound port"]
  node_jose_port["JOSE Port<br/>outbound port<br/>[SignJwt.kt]"]
  node_keyatt_port["KeyAtt Port<br/>outbound port"]
  node_status_port["Status Port<br/>outbound port"]
end

subgraph group_runtime["Runtime & API"]
  node_main(("Main<br/>entrypoint<br/>[Main.kt]"))
  node_appconfig["App Config<br/>runtime config"]
  node_config["Service Config<br/>settings"]
  node_challenge_routes["Challenge API<br/>http routes<br/>[ChallengeRoutes.kt]"]
  node_wia_routes["WIA API<br/>http routes"]
  node_wua_routes["WUA API<br/>http routes"]
  node_metadata_routes["Metadata API<br/>http routes<br/>[MetadataRoutes.kt]"]
end

subgraph group_adapters["Adapters"]
  node_jose["JOSE<br/>crypto adapter<br/>[SignumSignJwt.kt]"]
  node_keyatt["Key Attestation<br/>validation adapter"]
  node_statuslist["Status List<br/>integration adapter"]
end

subgraph group_docs["Contracts"]
  node_openapi["OpenAPI<br/>contract<br/>[openapi.json]"]
end

node_main -->|"boots"| node_appconfig
node_appconfig -->|"reads"| node_config
node_appconfig -->|"wires"| node_challenge_routes
node_appconfig -->|"wires"| node_wia_routes
node_appconfig -->|"wires"| node_wua_routes
node_appconfig -->|"wires"| node_metadata_routes
node_challenge_routes -->|"calls"| node_challenge_uc
node_wia_routes -->|"calls"| node_wia_uc
node_wua_routes -->|"calls"| node_wua_uc
node_metadata_routes -->|"serves"| node_openapi
node_challenge_uc -->|"validates"| node_challenge_port
node_wia_uc -->|"applies"| node_domain_wia
node_wia_uc -->|"uses"| node_wallet_info
node_wia_uc -->|"bounds"| node_time
node_wia_uc -->|"checks"| node_challenge_port
node_wia_uc -->|"optional"| node_keyatt_port
node_wia_uc -->|"optional"| node_status_port
node_wia_uc -->|"signs"| node_jose_port
node_wua_uc -->|"applies"| node_domain_wua
node_wua_uc -->|"bounds"| node_time
node_wua_uc -->|"checks"| node_challenge_port
node_wua_uc -->|"optional"| node_keyatt_port
node_wua_uc -->|"signs"| node_jose_port
node_jose -->|"implements"| node_jose_port
node_keyatt -->|"implements"| node_keyatt_port
node_statuslist -->|"implements"| node_status_port
node_config -->|"configures"| node_jose
node_config -->|"toggles"| node_keyatt
node_config -->|"toggles"| node_statuslist
node_specs -->|"shared by"| node_domain_wia
node_specs -->|"shared by"| node_domain_wua

click node_main "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/Main.kt"
click node_appconfig "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/config/WalletProviderApplicationConfiguration.kt"
click node_config "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/config/WalletProviderConfiguration.kt"
click node_challenge_routes "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/config/ChallengeRoutes.kt"
click node_wia_routes "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/config/WalletInstanceAttestationRoutes.kt"
click node_wua_routes "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/config/WalletUnitAttestationRoutes.kt"
click node_metadata_routes "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/config/MetadataRoutes.kt"
click node_openapi "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/openapi/openapi.json"
click node_challenge_uc "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/port/input/challenge/GenerateChallenge.kt"
click node_wia_uc "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/port/input/walletinstanceattestation/IssueWalletInstanceAttestation.kt"
click node_wua_uc "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/port/input/walletunitattestation/IssueWalletUnitAttestation.kt"
click node_domain_wia "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/domain/walletinstanceattestation/WalletInstanceAttestationClaims.kt"
click node_domain_wua "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/domain/walletunitattestation/WalletUnitAttestationClaims.kt"
click node_wallet_info "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/domain/walletinformation/WalletInformation.kt"
click node_time "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/domain/time/Clock.kt"
click node_specs "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/domain/Specs.kt"
click node_jose "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/adapter/jose/SignumSignJwt.kt"
click node_keyatt "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/adapter/keyattestation/MakotoValidateKeyAttestation.kt"
click node_statuslist "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/adapter/tokenstatuslist/TokenStatusListServiceGenerateStatusListToken.kt"
click node_challenge_port "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/port/output/challenge/ValidateChallenge.kt"
click node_jose_port "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/port/output/jose/SignJwt.kt"
click node_keyatt_port "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/port/output/keyattestation/ValidateKeyAttestation.kt"
click node_status_port "https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/port/output/tokenstatuslist/GenerateStatusListToken.kt"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_challenge_uc,node_wia_uc,node_wua_uc,node_domain_wia,node_domain_wua,node_wallet_info,node_time,node_specs,node_challenge_port,node_jose_port,node_keyatt_port,node_status_port toneAmber
class node_main,node_appconfig,node_config,node_challenge_routes,node_wia_routes,node_wua_routes,node_metadata_routes toneMint
class node_jose,node_keyatt,node_statuslist toneRose
class node_openapi toneIndigo
```

## Components

### Core Logic

Domain model and use-case orchestration

- [Generate Challenge](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/port/input/challenge/GenerateChallenge.kt): use case · Creates single-use challenges · `wallet-provider-service/src/main/kotlin/port/input/challenge/GenerateChallenge.kt`
- [Issue WIA](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/port/input/walletinstanceattestation/IssueWalletInstanceAttestation.kt): use case · Orchestrates wallet instance attestation issuance · `wallet-provider-service/src/main/kotlin/port/input/walletinstanceattestation/IssueWalletInstanceAttestation.kt`
- [Issue WUA](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/port/input/walletunitattestation/IssueWalletUnitAttestation.kt): use case · Orchestrates wallet unit attestation issuance · `wallet-provider-service/src/main/kotlin/port/input/walletunitattestation/IssueWalletUnitAttestation.kt`
- [WIA Model](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/domain/walletinstanceattestation/WalletInstanceAttestationClaims.kt): domain model · Claims and validity rules for wallet instance attestations · `wallet-provider-service/src/main/kotlin/domain/walletinstanceattestation/WalletInstanceAttestationClaims.kt`
- [WUA Model](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/domain/walletunitattestation/WalletUnitAttestationClaims.kt): domain model · Claims and validity rules for wallet unit attestations · `wallet-provider-service/src/main/kotlin/domain/walletunitattestation/WalletUnitAttestationClaims.kt`
- [Wallet Info](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/domain/walletinformation/WalletInformation.kt): domain model · Wallet metadata used in issued attestations · `wallet-provider-service/src/main/kotlin/domain/walletinformation/WalletInformation.kt`
- [Clock](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/domain/time/Clock.kt): domain service · Time abstraction for validity windows · `wallet-provider-service/src/main/kotlin/domain/time/Clock.kt`
- [Specs](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/domain/Specs.kt): domain rules · Shared specifications and type aliases · `wallet-provider-service/src/main/kotlin/domain/Specs.kt`
- [Challenge Port](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/port/output/challenge/ValidateChallenge.kt): outbound port · Challenge validation contract · `wallet-provider-service/src/main/kotlin/port/output/challenge/ValidateChallenge.kt`
- [JOSE Port](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/port/output/jose/SignJwt.kt): outbound port · JWT signing and verification contracts · `wallet-provider-service/src/main/kotlin/port/output/jose/SignJwt.kt`
- [KeyAtt Port](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/port/output/keyattestation/ValidateKeyAttestation.kt): outbound port · Platform attestation validation contract · `wallet-provider-service/src/main/kotlin/port/output/keyattestation/ValidateKeyAttestation.kt`
- [Status Port](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/port/output/tokenstatuslist/GenerateStatusListToken.kt): outbound port · Status list token generation contract · `wallet-provider-service/src/main/kotlin/port/output/tokenstatuslist/GenerateStatusListToken.kt`

### Runtime & API

Entry point, HTTP routes, and application wiring

- [Main](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/Main.kt): entrypoint · Service startup and shutdown · `wallet-provider-service/src/main/kotlin/Main.kt`
- [App Config](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/config/WalletProviderApplicationConfiguration.kt): runtime config · Environment-driven wiring and server settings · `wallet-provider-service/src/main/kotlin/config/WalletProviderApplicationConfiguration.kt`
- [Service Config](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/config/WalletProviderConfiguration.kt): settings · Issuer, keys, validity, and feature flags · `wallet-provider-service/src/main/kotlin/config/WalletProviderConfiguration.kt`
- [Challenge API](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/config/ChallengeRoutes.kt): http routes · Challenge generation endpoint · `wallet-provider-service/src/main/kotlin/config/ChallengeRoutes.kt`
- [WIA API](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/config/WalletInstanceAttestationRoutes.kt): http routes · Wallet Instance Attestation issuance endpoint · `wallet-provider-service/src/main/kotlin/config/WalletInstanceAttestationRoutes.kt`
- [WUA API](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/config/WalletUnitAttestationRoutes.kt): http routes · Wallet Unit Attestation issuance endpoint · `wallet-provider-service/src/main/kotlin/config/WalletUnitAttestationRoutes.kt`
- [Metadata API](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/config/MetadataRoutes.kt): http routes · Protected resource and discovery metadata · `wallet-provider-service/src/main/kotlin/config/MetadataRoutes.kt`

### Adapters

Concrete crypto and external-service implementations

- [JOSE](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/adapter/jose/SignumSignJwt.kt): crypto adapter · JWT signing and signature validation · `wallet-provider-service/src/main/kotlin/adapter/jose/SignumSignJwt.kt`
- [Key Attestation](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/adapter/keyattestation/MakotoValidateKeyAttestation.kt): validation adapter · Platform key attestation validation · `wallet-provider-service/src/main/kotlin/adapter/keyattestation/MakotoValidateKeyAttestation.kt`
- [Status List](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/wallet-provider-service/src/main/kotlin/adapter/tokenstatuslist/TokenStatusListServiceGenerateStatusListToken.kt): integration adapter · Generates token status list tokens · `wallet-provider-service/src/main/kotlin/adapter/tokenstatuslist/TokenStatusListServiceGenerateStatusListToken.kt`

### Contracts

Published discovery and API descriptions

- [OpenAPI](https://github.com/eu-digital-identity-wallet/eudi-srv-wallet-provider/blob/main/openapi/openapi.json): contract · Published API specification · `openapi/openapi.json`

## Connections

- Main → App Config: boots · Initializes the service runtime
- App Config → Service Config: reads · Loads environment-driven settings
- App Config → Challenge API: wires · Exposes challenge endpoint
- App Config → WIA API: wires · Exposes WIA endpoint
- App Config → WUA API: wires · Exposes WUA endpoint
- App Config → Metadata API: wires · Exposes discovery endpoints
- Challenge API → Generate Challenge: calls · Delegates challenge creation
- WIA API → Issue WIA: calls · Delegates WIA issuance
- WUA API → Issue WUA: calls · Delegates WUA issuance
- Metadata API → OpenAPI: serves · Publishes API contract
- Generate Challenge → Challenge Port: validates · Checks challenge use and freshness
- Issue WIA → WIA Model: applies · Builds WIA claims
- Issue WIA → Wallet Info: uses · Includes wallet metadata
- Issue WIA → Clock: bounds · Applies issuance validity windows
- Issue WIA → Challenge Port: checks · Validates challenge before issuance
- Issue WIA → KeyAtt Port: optional · Validates platform key attestation in validated mode
- Issue WIA → Status Port: optional · Requests token status list token
- Issue WIA → JOSE Port: signs · Produces signed attestation JWT
- Issue WUA → WUA Model: applies · Builds WUA claims
- Issue WUA → Clock: bounds · Applies issuance validity windows
- Issue WUA → Challenge Port: checks · Validates challenge before issuance
- Issue WUA → KeyAtt Port: optional · Validates platform key attestation in validated mode
- Issue WUA → JOSE Port: signs · Produces signed attestation JWT
- JOSE → JOSE Port: implements · Concrete signing and verification
- Key Attestation → KeyAtt Port: implements · Concrete key attestation validation
- Status List → Status Port: implements · Concrete status list token generation
- Service Config → JOSE: configures · Provides signing material and issuer identity
- Service Config → Key Attestation: toggles · Enables optional attestation validation
- Service Config → Status List: toggles · Enables optional status list integration
- Specs → WIA Model: shared by · Common spec support
- Specs → WUA Model: shared by · Common spec support
