generateSdJwtResponseClaims

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

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

Return

map of claims to include in the KB-JWT payload

Parameters

credential

credential being presented

userInput

additional data specified by the user

docRequestId

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