How microsoft/scitt-ccf-ledger works
Main Components
a. Core Components:
• CCF Platform Layer (Base Infrastructure)
• SCITT Application Layer
• Client Interface Layer
• Authentication & Authorization System
• Storage Layer (Ledger)
b. Supporting Components:
• Policy Engine
• DID Resolver
• Historical Query System
• CBOR/COSE Processing
• Verification System
Infrastructure Layer
• SGX/SEV-SNP Enclave support
• CCF Network Components
• Virtual Mode support (for development)
Core Service Layer
• Constitution Services (from app/constitution/)
• Service Endpoints (from app/src/service_endpoints.h)
• Operations Endpoints (from app/src/operations_endpoints.h)
Processing Layer
• CBOR/COSE Handlers
• Signature Verification
• Policy Engine
• DID Resolution System
Client Interface Layer
• REST API Endpoints
• Python CLI Tool (pyscitt)
• Authentication Handlers
Interaction Flows
• Client request flow through the system
• Authentication and authorization paths
• Claim submission and verification processes
• Receipt generation and validation
• Historical query processing
Specific Implementation Details
Specialized components visible in the file structure:
• Configuration Management
• Tracing System
• LRU Cache for Historical Queries
• Key Management System
Important Subsystems to Highlight
• Constitution System (app/constitution/)
• DID Resolution (app/src/did/)
• Historical Queries (app/src/historical/)
• Authentication System (app/src/configurable_auth.h)
External Integrations
Connections to:
• IETF SCITT Standards
• External DID Services
• Client Applications
• Key Vault Integration (visible in pyscitt/key_vault_sign_client.py)