Skip to content

Commit 4eb92c2

Browse files
committed
feat(registry): add mDOC IACA trust registry
Implements TrustRegistry for mDOC IACA certificate validation: - Fetches IACAs dynamically from issuer's mdoc_iacas_uri endpoint - Validates X5C chains against fetched IACAs - Supports issuer allowlist policy enforcement - Caches IACAs with configurable TTL - Discovers metadata via OpenID4VCI .well-known endpoint Includes comprehensive test suite (23 tests) with: - Mock HTTP server for issuer simulation - Certificate generation helpers for test chains - Cache behavior and refresh tests - Error handling and edge case coverage Related to ADR-012 in go-wallet-backend.
1 parent 3695914 commit 4eb92c2

File tree

2 files changed

+1239
-0
lines changed

2 files changed

+1239
-0
lines changed

0 commit comments

Comments
 (0)