PingTransaction

Transaction type that round-trips some data through the presentment process for testing.

Types

Link copied to clipboard
@Serializable
data class JsonData(val type: String, val credentialIds: List<String>, val transactionDataHashesAlg: List<String>?, val string: String?, val blob: String?)
Link copied to clipboard
data class Payload(val string: String?, val blob: ByteString?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Sample transaction data for this transaction type

Functions

Link copied to clipboard
open suspend override fun generateMdocResponseElements(transactionData: TransactionData<PingTransaction.Payload>, credential: Credential, userInput: TransactionUserInput?, docRequestId: Int?): Map<String, DataItem>
Link copied to clipboard
open suspend override fun generateSdJwtResponseClaims(transactionData: TransactionData<PingTransaction.Payload>, credential: Credential, userInput: TransactionUserInput?, docRequestId: Int?): Map<String, JsonElement>
Link copied to clipboard
open suspend override fun isApplicable(transactionData: TransactionData<PingTransaction.Payload>, credential: Credential): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun parseJson(serialized: ByteString): TransactionData<PingTransaction.Payload>
Link copied to clipboard
open override fun parseOpenId4VpRequest(jsonString: String): PingTransaction.Payload
Link copied to clipboard
Link copied to clipboard
open override fun serializeOpenId4VpRequest(payload: PingTransaction.Payload, credentialIds: List<String>, hashAlgorithms: List<Algorithm>?): String
Link copied to clipboard
open suspend override fun verifyMdocResponse(transactionData: TransactionData<PingTransaction.Payload>, responseElements: Map<String, DataItem>)
Link copied to clipboard
open suspend override fun verifySdJwtResponse(transactionData: TransactionData<PingTransaction.Payload>, responseClaims: Map<String, JsonElement>)