| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 7.0.0-alpha15" type="baseline" client="cli" name="Lint" variant="all" version="7.0.0-alpha15"> |
| |
| <issue |
| id="BanSynchronizedMethods" |
| message="Use of synchronized methods is not recommended" |
| errorLine1=" @Override" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/security/crypto/EncryptedFile.java" |
| line="350" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="BanSynchronizedMethods" |
| message="Use of synchronized methods is not recommended" |
| errorLine1=" @Override" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/security/crypto/EncryptedFile.java" |
| line="355" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" return mKeyGenParameterSpec != null && mKeyGenParameterSpec.isUserAuthenticationRequired();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKey.java" |
| line="119" |
| column="69"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" mKeyGenParameterSpec.getUserAuthenticationValidityDurationSeconds();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKey.java" |
| line="136" |
| column="38"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 28; however, the containing class androidx.security.crypto.MasterKey is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" return mKeyGenParameterSpec.isStrongBoxBacked();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKey.java" |
| line="146" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" if (!mKeyAlias.equals(keyGenParameterSpec.getKeystoreAlias())) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKey.java" |
| line="297" |
| column="55"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" + keyGenParameterSpec.getKeystoreAlias());" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKey.java" |
| line="300" |
| column="47"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" KeyGenParameterSpec.Builder builder = new KeyGenParameterSpec.Builder(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKey.java" |
| line="329" |
| column="55"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" .setBlockModes(KeyProperties.BLOCK_MODE_GCM)" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKey.java" |
| line="332" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" .setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_NONE)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKey.java" |
| line="333" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" .setKeySize(DEFAULT_AES_GCM_MASTER_KEY_SIZE);" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKey.java" |
| line="334" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" builder.setUserAuthenticationRequired(true)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKey.java" |
| line="337" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" .setUserAuthenticationValidityDurationSeconds(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKey.java" |
| line="338" |
| column="30"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 28; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" builder.setIsStrongBoxBacked(true);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKey.java" |
| line="345" |
| column="33"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" mKeyGenParameterSpec = builder.build();" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKey.java" |
| line="349" |
| column="48"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" KeyGenParameterSpec.Builder builder = new KeyGenParameterSpec.Builder(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="72" |
| column="47"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" .setBlockModes(KeyProperties.BLOCK_MODE_GCM)" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="75" |
| column="18"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" .setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_NONE)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="76" |
| column="18"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" .setKeySize(KEY_SIZE);" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="77" |
| column="18"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" return builder.build();" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="78" |
| column="24"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" if (!MasterKeys.keyExists(keyGenParameterSpec.getKeystoreAlias())) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="96" |
| column="55"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" return keyGenParameterSpec.getKeystoreAlias();" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="99" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" if (spec.getKeySize() != KEY_SIZE) {" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="105" |
| column="18"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" "invalid key size, want " + KEY_SIZE + " bits got " + spec.getKeySize()" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="107" |
| column="80"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" if (!Arrays.equals(spec.getBlockModes(), new String[]{KeyProperties.BLOCK_MODE_GCM})) {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="110" |
| column="33"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" + Arrays.toString(spec.getBlockModes()));" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="113" |
| column="52"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" if (spec.getPurposes() != (KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT)) {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="115" |
| column="18"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" + spec.getPurposes());" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="118" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" if (!Arrays.equals(spec.getEncryptionPaddings(), new String[]" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="120" |
| column="33"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" + Arrays.toString(spec.getEncryptionPaddings()));" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="124" |
| column="52"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" if (spec.isUserAuthenticationRequired()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="126" |
| column="18"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" && spec.getUserAuthenticationValidityDurationSeconds() < 1) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/security/crypto/MasterKeys.java" |
| line="127" |
| column="25"/> |
| </issue> |
| |
| </issues> |