Receive Document
High-level helper for receiving and accepting OpenID4VCI credential offers.
Public API surface:
Uses only SDK types: WalletHandle, OpenId4VciManagerHandle, IssuedCredentialSummary, and ReceiveDocumentError.
All
eu.europa.ec.eudi.*types are kept internal to the SDK implementation.
This class wraps the underlying OpenId4VciManager and wallet into two main operations:
receiveOffer – resolve a credential offer URI and return the Offer so the UI can inspect issuer, types, etc.
acceptOffer – given the same offer URI, try to issue one of the offered document types and return an IssuedCredentialSummary for the first success.
Error conditions are modeled via ReceiveDocumentError so host apps can provide stable UX without depending on EUDI error types.
Functions
Accept a previously received offer and issue a credential.
Build an IssuedCredentialSummary from an SD-JWT VC string.
Legacy combined operation: resolve + issue.
Resolve a credential offer URI into an Offer.