Credential Engine
The Credential Engine provides a pluggable framework for supporting multiple Verifiable Credential formats. Each format is integrated through two independent components:
- Credential Parser — Converts a raw credential into the wallet's normalized credential model.
- Credential Verifier — Validates the authenticity and integrity of a credential.
This separation allows new credential formats to be added without changing the core engine.
Currently Supported Formats
| Name | Format | Parser | Verifier |
|---|---|---|---|
| SD-JWT VC | dc+sd-jwt | SDJWTVCParser | SDJWTVCVerifier |
| ISO/IEC 23220-1:2023 | mso_mdoc | MsoMdocParser | MsoMdocVerifier |
Both parsers and verifiers are registered during credential engine initialization.
Extending the Framework
Supporting a new credential format typically requires:
- Implementing a
CredentialParser - Implementing a
CredentialVerifier - Registering the parser with the
ParsingEngine - Exposing the verifier through the application
Once registered, the new format becomes a first-class participant in credential issuance, storage, display, presentation, and verification workflows without requiring changes to existing format implementations.