Iso18013PresentmentRecord
class Iso18013PresentmentRecord(val response: DataItem, val sessionTranscript: DataItem, val request: DataItem, eDeviceKey: EcPrivateKey?, val encryptionInfo: ByteString?, val origin: String?) : PresentmentRecord
PresentmentRecord for ISO 18013-5 mdoc presentment.
Constructors
Link copied to clipboard
constructor(response: DataItem, sessionTranscript: DataItem, request: DataItem, eDeviceKey: EcPrivateKey?, encryptionInfo: ByteString?, origin: String?)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun verify(atTime: Instant, documentTypeRepository: DocumentTypeRepository?, zkSystemRepository: ZkSystemRepository?): List<VerifiedPresentation>
Verifies the cryptographic validity of the presentment. This includes verifying that the credential holder approved all transactions that apply to the presented credentials, even if no data was sent as a response for a given transaction.
Link copied to clipboard
Verifies that the presentation was bound to the expected nonce.