importMpzPass
Imports a MpzPass into a DocumentStore.
The returned document will have the Document.provisioned flag set to true and Document.mpzPassId and Document.mpzPassVersion will be set to MpzPass.uniqueId and MpzPass.version
If the pass had been previously imported at an earlier version, the same Document will be returned and the credentials and Document.mpzPassVersion will be updated. If the pass is already import at the same or later version, ImportMpzPassException will be thrown.
Return
An existing Document if updating, otherwise a newly created Document. In both cases the returned document will have the credentials included in mpzPass.
Parameters
The MpzPass to import.
The domain string to use when creating ISO mdoc credentials.
The domain string to use when creating SD-JWT VC credentials.
the domain string to use when creating keyless SD-JWT VC credentials.
Throws
if a SoftwareSecureArea implementation cannot be found in the repository.
if credential creation or certification fails or if the pass already exists in the store at the given version.