store Issued Document
abstract suspend fun storeIssuedDocument(unsignedDocument: UnsignedDocumentHandle, rawSdJwtVc: String): IssuedDocumentHandle
Stores a newly issued SD-JWT VC into a previously created unsigned document.
This finalizes the issuance flow:
OpenID4VCI returns a raw SD-JWT VC string
The app passes it here together with the UnsignedDocumentHandle
The wallet binds the SD-JWT to the PoP keys created earlier (publicKeyAlias)
The stored entry becomes a full IssuedDocumentHandle
Typical usage:
val unsigned = documentManager.createSdJwtDocument("my.vct")
val issued = documentManager.storeIssuedDocument(unsigned, rawSdJwt)Content copied to clipboard
Return
An IssuedDocumentHandle containing final stored metadata.
Parameters
unsigned Document
The placeholder returned by createSdJwtDocument.
raw Sd Jwt Vc
The raw SD-JWT VC string returned by the issuer.