OpenID4VCILocalBackend
class OpenID4VCILocalBackend(val clientAssertionKey: AsymmetricKey, val attestationKey: AsymmetricKey, val clientId: String, val walletName: String, val walletLink: String) : OpenID4VCIBackend
An implementation of OpenID4VCIBackend where the back-end is implemented locally.
This is intended only for test apps.
Constructors
Link copied to clipboard
constructor(clientAssertionKey: AsymmetricKey, attestationKey: AsymmetricKey, clientId: String, walletName: String, walletLink: String)
Properties
Functions
Link copied to clipboard
Creates fresh OAuth JWT client assertion based on the server-side key.
Link copied to clipboard
open suspend override fun createJwtKeyAttestation(credentialKeyAttestations: List<CredentialKeyAttestation>, challenge: String, userAuthentication: List<String>?, keyStorage: List<String>?): String
Creates OAuth JWT key attestation based on the given list of mobile-platform-specific KeyAttestations and key ids.
Link copied to clipboard
Creates OAuth JWT wallet attestation based on the mobile-platform-specific KeyAttestation.
Link copied to clipboard
Value for client_id that this back-end will use.