createPresentation

abstract suspend fun createPresentation(credentialIds: List<String>, holderDid: String, options: ProofOptions): VerifiablePresentation

Create a verifiable presentation from stored credentials.

Return

Verifiable presentation

Parameters

credentialIds

List of credential IDs to include

holderDid

DID of the presentation holder

options

Presentation options (proof type, challenge, domain, etc.)

Throws

if any credential ID is not found