DocumentTypeRepository
A class that contains the metadata of Document and transaction types.
The repository is initially empty, but in the org.multipaz.documenttype.knowntypes package there are well known document types which can be added using the addDocumentType method.
Applications also may add their own document and transaction types.
Properties
Functions
Add a Document Type to the repository.
Adds a single SingleDocumentCannedRequest to the extraSingleDocumentCannedRequests list.
Add a TransactionType to the registry.
Looks up a DocumentAttribute for a RequestedClaim.
Gets the first DocumentType in documentTypes with a given VCT.
Gets the first DocumentType in documentTypes with a given ISO mdoc doc type.
Gets the first DocumentType in documentTypes with a given mdoc namespace.
Find a transaction type by identifier
Parses OpenID4VP JSON-encoded transaction data.
Checks whether presentedVct satisfies requestedVct, either by exact string equality or via a verifier-configured JsonDocumentType.otherVcts relationship in this repository.