OpenID4VPPresentmentRecord
class OpenID4VPPresentmentRecord(val vpToken: String, val vpRequest: String, val mdocSessionTranscript: DataItem?, val expectedAudience: String? = null) : PresentmentRecord
PresentmentRecord for OpenID4VP presentations.
Supports both mso_mdoc and dc+sd-jwt credential formats within a single VP token.
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.