SimplePresentmentSource
An implementation of PresentmentSource for when using ISO mdoc and IETF SD-JWT VC credentials.
This implementation assumes that Credentials for a Document are organized by domain corresponding to the type of credential.
Constructors
Properties
the DocumentStore which holds credentials that can be presented.
a DocumentTypeRepository which holds metadata for document types.
the domains to use for org.multipaz.sdjwt.credential.KeyBoundSdJwtVcCredential instances, will be tried in order.
the domains to use for KeylessSdJwtVcCredential instances, will be tried in order.
the domains to use for org.multipaz.mdoc.credential.MdocCredential instances using mdoc MAC authentication, will be tried in order.
the domains to use for org.multipaz.mdoc.credential.MdocCredential instances using mdoc ECDSA authentication, will be tried in order.
an EventLogger for logging events or null.
whether to use mdoc ECDSA authentication even if mdoc MAC authentication is possible (ISO mdoc only).
the ZkSystemRepository to use or null.
Functions
Determines if a requester is trusted.
Chooses a credential from a document.
A function to show a consent prompt.