generateSdJwtResponseClaims

open suspend fun generateSdJwtResponseClaims(transactionData: TransactionData<PayloadT>, credential: Credential, userInput: TransactionUserInput?, docRequestId: Int? = null): Map<String, JsonElement>

Generates Key Binding JWT claims for an SD-JWT credential.

Used for Case 2 (ISO 18013-5) and Case 3 (OpenID4VP).

Return

map of claims to include in the KB-JWT payload

Parameters

transactionData

transaction data

credential

credential being presented

userInput

additional data specified by the user

docRequestId

document request index in ISO 18013-5, null in OpenID4VP