I am still curious about what is the use of passing cryptoObject to authenticate api of FingerprintManager.
If we see the code here, it stores the reference to cryptoObject in a field which it uses only at one place : to create the AuthenticationResult when authenticatin succeeds (see here).
Also, apart from this, it uses the cryptoObject's getOpId method to set some sessionId that it passes to authenticate api of IFingerprintService.
What's this OpId? I guess this is the thing that makes all difference, but I've no clue what it is and can't seem to find any documentation :-/
This question has been asked here, here and here but I didn't find a good answer in all the places.
Issue by yashasvigirdhar Tuesday Jun 06, 2017 at 07:14 GMT Originally opened as https://github.com/googlesamples/android-FingerprintDialog/issues/46
After going through the sample,
I am still curious about what is the use of passing
cryptoObject
toauthenticate
api ofFingerprintManager
.If we see the code here, it stores the reference to
cryptoObject
in a field which it uses only at one place : to create theAuthenticationResult
when authenticatin succeeds (see here).Also, apart from this, it uses the cryptoObject's
getOpId
method to set somesessionId
that it passes toauthenticate
api ofIFingerprintService
.What's this
OpId
? I guess this is the thing that makes all difference, but I've no clue what it is and can't seem to find any documentation :-/This question has been asked here, here and here but I didn't find a good answer in all the places.