IssuedDocumentHandle

High–level stable representation of a stored credential/document.

Backed by EUDI IssuedDocument, but exposes only stable and safe-to-use properties for apps:

  • document id

  • display name / issuer name

  • SD-JWT VC payload

  • signing using holder key

More structured parsing (e.g. credentialSubject.name) is handled at the app layer or via helpers such as vcValue.

Properties

Link copied to clipboard
val data: SdJwtVcData?

Strongly-typed SD-JWT VC data when applicable.

Link copied to clipboard

Human-readable name resolved from issuer metadata or format.

Link copied to clipboard

Raw document format name (e.g. "SdJwtVcFormat(ES256, ...)").

Link copied to clipboard
val id: String

Unique document ID inside the wallet database.

Link copied to clipboard

Issuer display name (falls back to "Unknown issuer").

Link copied to clipboard

Raw SD-JWT VC string, if available.

Link copied to clipboard
val vcValue: Any?

Extracts the raw "vc" claim payload from the SD-JWT VC.

Functions

Link copied to clipboard

Checks whether this document belongs to a specific VCT.

Link copied to clipboard
suspend fun getCredentials(): SecureAreaBoundCredential

Retrieves the wallet-bound credential associated with this document.

Link copied to clipboard
suspend fun signConsumingCredential(signingInput: ByteArray): EcSignature

Signs arbitrary input using the consuming credential key.