[][src]Function indy_crypto::ffi::cl::issuer::indy_crypto_cl_issuer_revoke_credential

#[no_mangle]
pub extern "C" fn indy_crypto_cl_issuer_revoke_credential(
    rev_reg: *const c_void,
    max_cred_num: u32,
    rev_idx: u32,
    ctx_tails: *const c_void,
    take_tail: extern "C" fn(ctx: *const c_void, idx: u32, tail_p: *mut *const c_void) -> ErrorCode,
    put_tail: extern "C" fn(ctx: *const c_void, tail: *const c_void) -> ErrorCode,
    rev_reg_delta_p: *mut *const c_void
) -> ErrorCode

Revokes a credential by a rev_idx in a given revocation registry.

Arguments

  • rev_reg - Reference that contain revocation registry instance pointer.
  • max_cred_num` - Max credential number in revocation registry.
  • rev_idx` - Index of the user in the revocation registry.