pub fn issuer_create_credential_offer(
    wallet_handle: IndyHandle,
    cred_def_id: &str
) -> Box<dyn Future<Item = String, Error = ErrorCode>>
Expand description

Create credential offer that will be used by Prover for credential request creation. Offer includes nonce and key correctness proof for authentication between protocol steps and integrity checking.

Arguments

  • wallet_handle: wallet handler (created by Wallet::open_wallet)
  • cred_def_id: id of credential definition stored in the wallet

Returns

  • credential_offer_json - { “schema_id”: string, “cred_def_id”: string, // Fields below can depend on Cred Def type “nonce”: string, “key_correctness_proof” : <key_correctness_proof> }