WalletDocumentManager

High-level document manager API exposed by the SDK.

This facade hides all EUDI wallet internals and exposes a stable, app-friendly interface for:

  • listing stored credentials

  • retrieving specific documents

  • deleting documents

  • creating unsigned SD-JWT VC documents (during OpenID4VCI issuance)

  • storing issued SD-JWT VCs into the wallet

All returned values are wrapped in stable SDK types (IssuedDocumentHandle, UnsignedDocumentHandle).

Applications never interact with EUDI types directly.

Functions

Link copied to clipboard
abstract suspend fun createSdJwtDocument(vct: String, settings: WalletCreateDocumentSettings = WalletCreateDocumentSettings()): UnsignedDocumentHandle

Creates a new unsigned SD-JWT VC document, ready to be issued to.

Link copied to clipboard
abstract suspend fun deleteDocument(id: String): Boolean

Deletes a document from the wallet.

Link copied to clipboard
abstract suspend fun getDocument(id: String): IssuedDocumentHandle?

Retrieves a specific document by its internal wallet id.

Link copied to clipboard
abstract suspend fun listDocuments(): List<IssuedDocumentHandle>

Returns all documents currently stored in the wallet.

Link copied to clipboard
abstract suspend fun storeIssuedDocument(unsignedDocument: UnsignedDocumentHandle, rawSdJwtVc: String): IssuedDocumentHandle

Stores a newly issued SD-JWT VC into a previously created unsigned document.