createWalletAttestation
suspend fun createWalletAttestation(signingKey: AsymmetricKey, clientId: String, attestationIssuer: String, attestedKey: EcPublicKey, nonce: String?, walletName: String?, walletLink: String?): String
Generates JWT implementing OpenID4VCI Appendix E. Wallet Attestations in JWT format (a.k.a Client Attestation).
Return
signed JWT representing Wallet Attestation
Parameters
signingKey
key to sign JWT
clientId
OpenID client_id, used as "sub" claim
attestationIssuer
issuer of the attestation, used as "iss" claim
attestedKey
client's public key that will be attested, stored in "cnf" claim
nonce
nonce if any (not common), used as "nonce" claim if given
walletName
human-readable name of the wallet app, used in "wallet_name" claim
walletLink
link to the wallet app web site, used in "wallet_link" claim