DocumentStore
Class for storing real-world identity documents.
This class is designed for storing real-world identity documents such as Mobile Driving Licenses (mDL) as specified in ISO/IEC 18013-5:2021. It is however not tied to that specific document format and is designed to hold any kind of document, regardless of format, presentation-, or issuance-protocol used.
This code relies on a Secure Area for keys and this dependency is abstracted by the SecureArea interface and allows the use of different SecureArea implementations for Authentication Keys) associated with documents stored in the Document Store.
It is guaranteed that once a document is created with createDocument, each subsequent call to lookupDocument will return the same Document instance.
For more details about documents stored in a DocumentStore see the Document class.
Use buildDocumentStore or DocumentStore.Builder to create a DocumentStore instance.
Types
Properties
A SharedFlow which can be used to listen for when credentials are added and removed from the store as well as when credentials in the store have been updated.
the repository of configured SecureArea that can be used.
Functions
Creates a new document using another AbstractDocumentMetadata than DocumentMetadata.
Creates a new document.
Deletes a document.
Lists all documents in the store.
Looks up a document in the store.