createWallet

fun createWallet(issuer: IssuerConfig, trustedVerifiers: TrustedVerifiers): WalletSdk

A wallet app: holds credentials and shares them.

Parameters

issuer

where credentials come from (your OpenID4VCI issuer).

trustedVerifiers

the verifiers to name on the consent sheet.


fun createWallet(issuer: IssuerConfig, trustedVerifiers: TrustedVerifiers, credentialTypes: List<CredentialType>, shareGuard: ShareGuard?): WalletSdk

A wallet app with your own document types and, optionally, a check before sharing.

Parameters

credentialTypes

labels and fields of your document types, e.g. a national ID card.

shareGuard

a check between the holder's consent and sharing, e.g. the face check (FaceShareGuard). Null: share on consent alone.