verifySdJwtPresentation

suspend fun verifySdJwtPresentation(now: Instant, compactSerialization: String, nonce: ByteString, documentTypeRepository: DocumentTypeRepository?): VerifiedPresentation

Generates VerifiedPresentation from an SD-JWT / SD-JWT+KB presentation.

Return

a VerifiedPresentation instance.

Parameters

now

the current time.

compactSerialization

the compact serialization of the SD-JWT or SD-JWT+KB.

nonce

the nonce used in the request.

documentTypeRepository