aries / net.globalid.aries.utils / RxAnoncreds / proverCreateCredentialRequest

proverCreateCredentialRequest

fun proverCreateCredentialRequest(wallet: Wallet, proverDid: String, credentialOffer: String, credentialDefinition: String, masterSecretId: String): Single<CredentialRequest>

Creates a credential request in the prover role.

Parameters

wallet - is the wallet with the secrets.

proverDid - is the Did of the prover.

credentialOffer - is the credential offer as a JSON string.

credentialDefinition - is the credential definition as a JSON string.

masterSecretId - is the ID of the master secret in the wallet.

Return
CredentialRequest is the created request.