[][src]Function indyrs::anoncreds::prover_get_credential_attr_tag_policy

pub fn prover_get_credential_attr_tag_policy(
    wallet_handle: WalletHandle,
    cred_id: &str
) -> Box<dyn Future<Item = String, Error = IndyError>>

Get credential attribute tagging policy by credential definition id.

Arguments

  • wallet_handle: wallet handle (created by Wallet::open_wallet).
  • cred_id: Identifier by which requested credential is stored in the wallet

Returns

JSON array with all attributes that current policy marks taggable; null for default policy (tag all credential attributes).