KeyBindingJws
@Serializable
Key Binding JWT for SD-JWT, per spec draft-ietf-oauth-selective-disclosure-jwt-08
Constructors
Link copied to clipboard
constructor(issuedAt: Instant? = null, audience: String, challenge: String, sdHash: ByteArray, transactionData: List<TransactionDataBase64Url>? = null, transactionDataHashes: List<@Serializable(with = ByteArrayBase64UrlSerializer::class) ByteArray>? = null, transactionDataHashesAlgorithm: String? = null)
Properties
Link copied to clipboard
Used to link transaction data to Authentication request according to UC5 spec Base64 Encoded JsonObject
Link copied to clipboard
@SerialName(value = "transaction_data_hashes")
OID4VP: Array of hashes, where each hash is calculated using a hash function over the strings received in the transaction_data
request parameter (see SignatureRequestParameters
). Each hash value ensures the integrity of, and maps to, the respective transaction data object.
Link copied to clipboard
@SerialName(value = "transaction_data_hashes_alg")
OID4VP: REQUIRED when this parameter was present in the transaction_data
request parameter. String representing the hash algorithm identifier used to calculate hashes in transactionDataHashes response parameter.