ProofCreator
Creates the proofs of a credential request (OpenID4VCI 1.0, 8.2) of one proof type (Appendix F), which provide the key material the issued credential will be bound to (8.1).
OpenId4VciClient asks its proof creators in the order given and uses the first proof created, so list them in the order of preference: the issuer accepts each of its proof_types_supported, and the request carries exactly one (8.2). If a creator fails, the next one is asked; the credential request fails if none creates a proof although the issuer lists proof types, and is sent without proofs only if it lists none (12.2.4).
Inheritors
Functions
Link copied to clipboard
abstract suspend fun invoke(credentialIssuer: String, credentialFormat: SupportedCredentialFormat, clientId: String, clientNonce: String?): KmmResult<CredentialRequestProofContainer?>
Creates the proof for a credential of credentialFormat to be requested from credentialIssuer.