fun proverStoreCredential(wallet: Wallet, credentialId: String?, credentialRequestMetadata: String, credential: String, credentialDefinition: String, revocationRegistryDefinition: String?): Single<String>
Stores the credential in the wallet in the prover role.
wallet
- to store the secrets in
credentialId
- is optional, specifies the ID of the record in the wallet
credentialRequestMetadata
- is metadata about the credential request as a JSON string
credential
- is the credential received from the issuer as a JSON string
credentialDefinition
- is the corresponding (cred_def_id from credential JSON)
credential definition
revocationRegistryDefinition
- is the corresponding (rev_reg_def_id from credential
JSON) revocation registry definition. Can be null (if rev_reg_def_id is also null).
Return
the ID of the stored credential record in the wallet.