Expand description
OpenID for Verifiable Presentations (OpenID4VP) and Credential Issuance.
Provides the infrastructure for issuing, storing, and presenting Verifiable Credentials using the W3C data model and the OpenID protocol suite.
Experimental: Core data types and request/response structures are defined.
DID resolution supports did:key: (Ed25519, P-256) and did:web: methods.
JWS proof verification is implemented for EdDSA and ES256 algorithms.
Structs§
- Descriptor
Map - Maps an Input Descriptor to a credential location in the VP Token.
- DidDocument
- Minimal DID Document following the W3C DID Core specification.
- Field
Constraint - A single field filter (JSONPath + optional JSON Schema filter).
- Input
Constraints - Constraint filters on a credential’s JSON structure.
- Input
Descriptor - Describes a single credential input requirement.
- Open
Id4vp Config - Open
Id4vp Service - Presentation
Definition - A Presentation Definition per DIF Presentation Exchange v2.
- Presentation
Submission - A Presentation Submission per DIF Presentation Exchange v2.
- Verification
Method - A verification method within a DID Document.
Functions§
- resolve_
did - Resolve a DID to its DID Document.
- simple_
presentation_ definition - Build a minimal Presentation Definition requiring a single credential type.
- validate_
submission - Validate that a Presentation Submission matches a Presentation Definition.