Encryption KeyGenSpec.Builder.setUserAuthenticationRequired但未强制执行
我正在尝试使用在TEE环境中生成的密钥加密某些内容 密钥具有以下属性: 我将mUserAuthenticationRequired设置为true 然而,当我这样做时:Encryption KeyGenSpec.Builder.setUserAuthenticationRequired但未强制执行,encryption,android-keystore,android-biometric-prompt,Encryption,Android Keystore,Android Biometric Prompt,我正在尝试使用在TEE环境中生成的密钥加密某些内容 密钥具有以下属性: 我将mUserAuthenticationRequired设置为true 然而,当我这样做时: cipher.init(Cipher.ENCRYPT_MODE, secretKey) return cipher.doFinal(secretToBeEncrypted) 它工作正常,不会因未显示身份验证对话框而引发任何异常。 为什么呢
cipher.init(Cipher.ENCRYPT_MODE, secretKey)
return cipher.doFinal(secretToBeEncrypted)
它工作正常,不会因未显示身份验证对话框而引发任何异常。
为什么呢