SD-JWT .NET Tutorials
Step-by-step guides for learning SD-JWT implementation with working code samples.
Learning Path
Week 1: Fundamentals
Start with these beginner tutorials to understand core SD-JWT concepts:
- Hello SD-JWT - Create your first SD-JWT (5 min)
- Selective Disclosure - Hide and reveal claims (10 min)
- Holder Binding - Cryptographic proof of ownership (10 min)
- Verification Flow - Complete issuer-holder-verifier cycle (15 min)
- Hello mdoc - Create your first ISO 18013-5 credential (10 min)
Week 2: Standards
Build production skills with protocol tutorials:
- Verifiable Credentials - SD-JWT VC standard (15 min)
- Status List - Revocation and suspension (15 min)
- OpenID4VCI - Credential issuance protocol (20 min)
- OpenID4VP - Presentation protocol (20 min)
- Presentation Exchange - DIF query language (15 min)
- mdoc Issuance - Complete mdoc credential flows (20 min)
- Agent Trust Kits - Capability token enforcement for agent tool calls (25 min)
Week 3: Production
Advanced tutorials for enterprise deployment:
- OpenID Federation - Trust chain management (20 min)
- HAIP Compliance - Security levels 1-3 (15 min)
- Multi-Credential Flow - Combined presentations (20 min)
- Key Rotation - Operational security (15 min)
- mdoc OpenID4VP Integration - mdoc presentation flows (25 min)
- EUDIW Compliance - EU Digital Identity Wallet (25 min)
Running the Samples
All tutorials have corresponding runnable code in the samples/SdJwt.Net.Samples/ directory.
cd samples/SdJwt.Net.Samples
dotnet run
Or run specific tutorials directly:
dotnet run -- 1.1 # Hello SD-JWT
dotnet run -- 2.3 # OpenID4VCI
dotnet run -- 3.2 # HAIP Compliance
Prerequisites
- .NET 9.0 SDK or later
- Basic understanding of JWTs and public key cryptography
- IDE with C# support (Visual Studio, VS Code, Rider)