teepot/crates/intel-dcap-api/examples
Harald Hoyer 205113ecfa
feat(intel-dcap-api): add comprehensive testing infrastructure and examples
- Add mock tests using real Intel API response data (25 tests)
- Create fetch_test_data tool to retrieve real API responses for testing
- Add integration_test example covering 17 API endpoints
- Add common_usage example demonstrating attestation verification patterns
- Add issuer chain validation checks to ensure signature verification is possible
- Add comprehensive documentation in CLAUDE.md

The test suite now covers all major Intel DCAP API functionality including
TCB info, enclave identities, PCK CRLs, FMSPCs, and evaluation data numbers
for both SGX and TDX platforms across API v3 and v4.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2025-05-28 11:52:31 +02:00
..
common_usage.rs feat(intel-dcap-api): add comprehensive testing infrastructure and examples 2025-05-28 11:52:31 +02:00
example.rs feat(api): add Intel DCAP API client module 2025-04-10 14:51:51 +02:00
fetch_test_data.rs feat(intel-dcap-api): add comprehensive testing infrastructure and examples 2025-05-28 11:52:31 +02:00
get_pck_crl.rs feat(api): add Intel DCAP API client module 2025-04-10 14:51:51 +02:00
integration_test.rs feat(intel-dcap-api): add comprehensive testing infrastructure and examples 2025-05-28 11:52:31 +02:00