Crate baseid_wallet_core

Crate baseid_wallet_core 

Source
Expand description

§baseid-wallet-core

Wallet business logic for credential lifecycle management.

Provides the core logic for a digital identity wallet:

  • Receive credentials (via OID4VCI, DIDComm)
  • Store credentials (via WalletStore trait)
  • Match credentials against presentation requests (PE + DCQL)
  • Present credentials (via OID4VP, DIDComm)
  • Manage consent (via baseid-pctf)

The UI layer is platform-native (React Native / Swift / Kotlin); this crate provides only the business logic.

Modules§

error
Wallet-core error types.
holder
Credential holder (storage) operations.
matcher
Credential matching against presentation requests.
presenter
Credential presentation operations.
receive
Credential receive operations — bridging OID4VCI responses into the wallet store.
store
In-memory credential store for testing and development.
wallet
Wallet orchestrator — composes storage, matching, and presentation.

Structs§

CredentialFilter
Filter for querying stored credentials.
CredentialRecord
A stored credential with its metadata.

Enums§

AnyCredential
A format-agnostic credential wrapper.