verifySingleDoc
suspend fun verifySingleDoc(sessionTranscript: DataItem, transactionData: List<TransactionData>, atTime: Instant = Clock.System.now())
Variant of verify that is intended for use with DeviceResponse data embedded in non-ISO/IEC-18013 verification response (such as OpenID4VP).
DeviceResponse must contain a single document. Parsed transaction data is supplied using transactionData parameter instead of DeviceRequest.
Parameters
sessionTranscript
the session transcript to use.
transactionData
transaction data that was associated with the request
atTime
the point in time for validating the whether returned documents are valid.
Throws
if validation fails.