exportToMpzPass

open suspend override fun exportToMpzPass(keyUnlockData: KeyUnlockData?): MpzPass

Exports the credential as a MpzPass which can be shared with other applications.

Note: If the credential is using key-binding, it must be backed by a SoftwareSecureArea in order for this to work.

Return

The generated MpzPass.

Parameters

keyUnlockData

Optional unlock data required to read the underlying private key, if applicable.

Throws

if the credential does not use a SoftwareSecureArea or if the credential doesn't support being exported.