UnsignedDocumentHandle

Wrapper around an EUDI UnsignedDocument.

This represents:

  • a newly created but not-yet-stored SD-JWT VC document,

  • including PoP (Proof-of-Possession) key material.

It is used during OpenID4VCI issuance:

  1. App creates an unsigned document via documentManager.createSdJwtDocument()

  2. Issuer signs it

  3. SDK stores it

Properties

Link copied to clipboard
val id: String

Internal document ID before issuance (different from final issued ID).

Functions

Link copied to clipboard
suspend fun getFirstPublicKey(): EcPublicKey

Returns the first public key generated for this unsigned document.

Link copied to clipboard
suspend fun getPublicKeyAlias(): String

Returns the alias of the Android Keystore key backing the PoP signer.

Link copied to clipboard
suspend fun signPoP(dataToSign: ByteArray, keyUnlockData: KeyUnlockData?): EcSignature

Signs a Proof-of-Possession challenge received from an issuer during SD-JWT VC issuance.