checkPresentationMatches

fun checkPresentationMatches(presentation: VerifiedPresentation, documentTypeRepository: DocumentTypeRepository? = null)

Verifies that presentation matches this credential query's format, type (vct or docType), and requested claims or claim_sets.

Parameters

presentation

the verified presentation to check.

documentTypeRepository

optional DocumentTypeRepository used to resolve verifier-approved vct aliases via org.multipaz.documenttype.JsonDocumentType.otherVcts.

Throws

if presentation does not satisfy this query.