由不清楚的KeyStoreException引起的UnrecoverableKeyException:112

时间:2019-04-05 23:26:27

标签: android android-keystore

当我提示指纹对话框验证用户身份时,我在崩溃日志中看到了很多。

java.security.UnrecoverableKeyException: Failed to obtain information about key at 
..my code..
io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.checkTerminated(ObservableObserveOn.java:287) at 
    io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:172) at 
    io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255) at 
    io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:119) at android.os.Handler.handleCallback(Handler.java:873) at 
    android.os.Handler.dispatchMessage(Handler.java:99) at 
    android.os.Looper.loop(Looper.java:214) at 
    android.app.ActivityThread.main(ActivityThread.java:6981) at 
    java.lang.reflect.Method.invoke(Native Method) at 
    com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1445) 
Caused by: java.security.UnrecoverableKeyException: Failed to obtain information about key at 
    android.security.keystore.AndroidKeyStoreProvider.getKeyCharacteristics(AndroidKeyStoreProvider.java:238) at 
    android.security.keystore.AndroidKeyStoreProvider.loadAndroidKeyStoreKeyFromKeystore(AndroidKeyStoreProvider.java:360) at 
    android.security.keystore.AndroidKeyStoreSpi.engineGetKey(AndroidKeyStoreSpi.java:116) at java.security.KeyStore.getKey(KeyStore.java:1062) at 
Caused by: android.security.KeyStoreException: 112 at 
    android.security.KeyStore.getKeyStoreException(KeyStore.java:1147) at 
    android.security.keystore.AndroidKeyStoreProvider.getKeyCharacteristics(AndroidKeyStoreProvider.java:240) ... 34 more

这是什么KeystoreException:112,是什么引起的?我正在尝试自然地重现该错误,但未能成功。

0 个答案:

没有答案