Provide the PKCS #11 slot ID per user.
Updated the Pkcs11GetTpmTokenInfoForUser call to output a slot ID in
addition to the label and PIN.
BUG=chromium:205206
TEST=manual
To mount new: cryptohome --action=mount --user=user1 --password=pwd --create
To query slot: cryptohome --action=pkcs11_token_status --user=user1
Change-Id: I4745ba5f0da250053dca5cd84d530fdc6fed8b72
Reviewed-on: https://chromium-review.googlesource.com/172109
Reviewed-by: Gaurav Shah <gauravsh@chromium.org>
Tested-by: Darren Krahn <dkrahn@chromium.org>
Commit-Queue: Darren Krahn <dkrahn@chromium.org>
8 files changed