Expand description
OpenID for Verifiable Credential Issuance (OpenID4VCI).
Implements the OpenID4VCI 1.0 specification for issuing verifiable credentials to wallet instances.
§Flows
§Authorization Code Flow
- Issuer creates credential offer (QR code / deep link)
- Wallet discovers issuer metadata
- Wallet initiates OAuth 2.0 authorization
- User authenticates at issuer
- Wallet receives authorization code
- Wallet exchanges code for access token
- Wallet requests credential with proof of possession
- Issuer returns signed credential
§Pre-Authorized Code Flow
- Issuer creates credential offer with pre-authorized code
- Wallet discovers issuer metadata
- Wallet exchanges pre-authorized code (+ optional PIN) for access token
- Wallet requests credential with proof of possession
- Issuer returns signed credential
§Supported Credential Formats
vc+sd-jwt— SD-JWT VC (mandatory for eIDAS)mso_mdoc— ISO mdoc (mandatory for eIDAS)jwt_vc_json— JWT-secured VCldp_vc— Linked Data Proof VC
Re-exports§
pub use error::Oid4vciError;pub use proof::KeyProof;pub use proof::KeyProofClaims;pub use proof::ProofPolicy;pub use proof::build_key_proof_jwt;pub use types::*;