[go: nahoru, domu]

blob: 7dc924751cae324606471c113d92162c4dbd6304 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="5" by="lint 4.2.0-alpha06" client="gradle" variant="debug" version="4.2.0-alpha06">
<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="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" return mKeyGenParameterSpec != null &amp;&amp; mKeyGenParameterSpec.isUserAuthenticationRequired();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKey.java"
line="119"
column="69"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" mKeyGenParameterSpec.getUserAuthenticationValidityDurationSeconds();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKey.java"
line="136"
column="38"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.security.crypto.MasterKey is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" return mKeyGenParameterSpec.isStrongBoxBacked();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKey.java"
line="146"
column="37"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" if (!mKeyAlias.equals(keyGenParameterSpec.getKeystoreAlias())) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKey.java"
line="297"
column="55"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" + keyGenParameterSpec.getKeystoreAlias());"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKey.java"
line="300"
column="47"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
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="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" .setBlockModes(KeyProperties.BLOCK_MODE_GCM)"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKey.java"
line="332"
column="26"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" .setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_NONE)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKey.java"
line="333"
column="26"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
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="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" builder.setUserAuthenticationRequired(true)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKey.java"
line="337"
column="29"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" .setUserAuthenticationValidityDurationSeconds("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKey.java"
line="338"
column="30"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.security.crypto.MasterKey.Builder is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" builder.setIsStrongBoxBacked(true);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKey.java"
line="345"
column="33"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" mKeyGenParameterSpec = builder.build();"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKey.java"
line="349"
column="48"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
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="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" .setBlockModes(KeyProperties.BLOCK_MODE_GCM)"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKeys.java"
line="75"
column="18"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" .setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_NONE)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKeys.java"
line="76"
column="18"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" .setKeySize(KEY_SIZE);"
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKeys.java"
line="77"
column="18"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" return builder.build();"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKeys.java"
line="78"
column="24"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" if (!MasterKeys.keyExists(keyGenParameterSpec.getKeystoreAlias())) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKeys.java"
line="96"
column="55"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" return keyGenParameterSpec.getKeystoreAlias();"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKeys.java"
line="99"
column="36"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" if (spec.getKeySize() != KEY_SIZE) {"
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKeys.java"
line="105"
column="18"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" &quot;invalid key size, want &quot; + KEY_SIZE + &quot; bits got &quot; + spec.getKeySize()"
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKeys.java"
line="107"
column="80"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
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="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" + Arrays.toString(spec.getBlockModes()));"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKeys.java"
line="113"
column="52"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
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="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" + spec.getPurposes());"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKeys.java"
line="118"
column="36"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
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="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" + Arrays.toString(spec.getEncryptionPaddings()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKeys.java"
line="124"
column="52"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" if (spec.isUserAuthenticationRequired()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKeys.java"
line="126"
column="18"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" &amp;&amp; spec.getUserAuthenticationValidityDurationSeconds() &lt; 1) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/security/crypto/MasterKeys.java"
line="127"
column="25"/>
</issue>
</issues>