Password.h and keypad.h help please??

I am using the password.set() function, however I think what I am really missing is how can I take the current characters that the user is inputting and make them the password?

this is what I have currently but of course.. doesn't work..

      case '*':
      if(count == 3){
      password.set(password.append(eKey));
      count = 0;
      }