File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
java/ql/src/Security/CWE/CWE-287 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,16 @@ private Cipher getCipher() {
2626 + KeyProperties .ENCRYPTION_PADDING_PKCS7 );
2727}
2828
29- public prompt () {
29+ public prompt (byte [] encryptedData ) {
3030 Cipher cipher = getCipher ();
3131 SecretKey secretKey = getSecretKey ();
3232 cipher .init (Cipher .DECRYPT_MODE , secretKey );
3333
3434 biometricPrompt .authenticate (
35- new BiometricPrompt .CryptoObject (cipher );
35+ new BiometricPrompt .CryptoObject (cipher ),
3636 cancellationSignal ,
3737 executor ,
38- new BiometricPrompt .AuthenticationCallback {
38+ new BiometricPrompt .AuthenticationCallback () {
3939 @ Override
4040 // GOOD: This authentication callback uses the result to decrypt some data.
4141 public void onAuthenticationSucceeded (BiometricPrompt .AuthenticationResult result ) {
You can’t perform that action at this time.
0 commit comments