Home
last modified time | relevance | path

Searched refs:AndroidSdkVersion (Results 1 – 8 of 8) sorted by relevance

/tools/apksig/src/test/java/com/android/apksig/
DApkVerifierTest.java26 import com.android.apksig.internal.util.AndroidSdkVersion;
275 AndroidSdkVersion.O)); in testSignaturesIgnoredForMaxSDK()
277 AndroidSdkVersion.M)); in testSignaturesIgnoredForMaxSDK()
284 "v2-only-with-dsa-sha256-%s.apk", DSA_KEY_NAMES, AndroidSdkVersion.N); in testV2OneSignerOneSignatureAccepted()
286 "v2-only-with-ecdsa-sha256-%s.apk", EC_KEY_NAMES, AndroidSdkVersion.N); in testV2OneSignerOneSignatureAccepted()
288 "v2-only-with-rsa-pkcs1-sha256-%s.apk", RSA_KEY_NAMES, AndroidSdkVersion.N); in testV2OneSignerOneSignatureAccepted()
295 "v2-only-with-ecdsa-sha512-%s.apk", EC_KEY_NAMES, AndroidSdkVersion.N); in testV2OneSignerOneSignatureAccepted()
297 "v2-only-with-rsa-pkcs1-sha512-%s.apk", RSA_KEY_NAMES, AndroidSdkVersion.N); in testV2OneSignerOneSignatureAccepted()
304 "v3-only-with-dsa-sha256-%s.apk", DSA_KEY_NAMES, AndroidSdkVersion.P); in testV3OneSignerOneSignatureAccepted()
306 "v3-only-with-ecdsa-sha256-%s.apk", EC_KEY_NAMES, AndroidSdkVersion.P); in testV3OneSignerOneSignatureAccepted()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DSignatureAlgorithm.java19 import com.android.apksig.internal.util.AndroidSdkVersion;
41 AndroidSdkVersion.N),
55 AndroidSdkVersion.N),
63 AndroidSdkVersion.N),
71 AndroidSdkVersion.N),
79 AndroidSdkVersion.N),
87 AndroidSdkVersion.N),
95 AndroidSdkVersion.N),
107 AndroidSdkVersion.P),
119 AndroidSdkVersion.P),
[all …]
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java28 import com.android.apksig.internal.util.AndroidSdkVersion;
200 if (maxSdkVersion >= AndroidSdkVersion.P) { in verify()
202 } else if (maxSdkVersion >= AndroidSdkVersion.N) { in verify()
214 if (maxSdkVersion >= AndroidSdkVersion.N) { in verify()
217 if (maxSdkVersion >= AndroidSdkVersion.P) { in verify()
224 Math.max(minSdkVersion, AndroidSdkVersion.P), in verify()
240 if (minSdkVersion < AndroidSdkVersion.P || foundApkSigSchemeIds.isEmpty()) { in verify()
249 Math.max(minSdkVersion, AndroidSdkVersion.N), in verify()
264 if (maxSdkVersion >= AndroidSdkVersion.O) { in verify()
283 if ((minSdkVersion < AndroidSdkVersion.N) || (foundApkSigSchemeIds.isEmpty())) { in verify()
DSigningCertificateLineage.java29 import com.android.apksig.internal.util.AndroidSdkVersion;
468 int minSdkVersion = AndroidSdkVersion.P; // lineage introduced in P in calculateMinSdkVersion()
1069 if (mMinSdkVersion < AndroidSdkVersion.P) { in build()
1070 mMinSdkVersion = AndroidSdkVersion.P; in build()
DDefaultApkSignerEngine.java29 import com.android.apksig.internal.util.AndroidSdkVersion;
329 if (currentMinSdk <= mMinSdkVersion || currentMinSdk <= AndroidSdkVersion.P) { in createV3SignerConfigs()
334 if (currentMinSdk > AndroidSdkVersion.P && currentMinSdk > mMinSdkVersion) { in createV3SignerConfigs()
347 if (current <= mMinSdkVersion || current <= AndroidSdkVersion.P) { in getMinSdkFromV3SignatureAlgorithms()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java38 import com.android.apksig.internal.util.AndroidSdkVersion;
517 if (minSdkVersion < AndroidSdkVersion.N) { in verifySigBlockAgainstSigFile()
687 if (minSdkVersion < AndroidSdkVersion.KITKAT) { in verifySignerInfoAgainstSigFile()
703 + AndroidSdkVersion.KITKAT); in verifySignerInfoAgainstSigFile()
710 if (maxSdkVersion >= AndroidSdkVersion.N) { in verifySignerInfoAgainstSigFile()
1344 if (maxSdkVersion >= AndroidSdkVersion.N) { in verifySigFileAgainstManifest()
1640 if (minSdkVersion < AndroidSdkVersion.JELLY_BEAN_MR2) { in getDigestsToVerify()
1676 if (maxSdkVersion >= AndroidSdkVersion.JELLY_BEAN_MR2) { in getDigestsToVerify()
1746 "SHA-384", AndroidSdkVersion.GINGERBREAD);
1748 "SHA-512", AndroidSdkVersion.GINGERBREAD);
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java31 import com.android.apksig.internal.util.AndroidSdkVersion;
118 if (minSdkVersion < AndroidSdkVersion.P) { in verify()
119 minSdkVersion = AndroidSdkVersion.P; in verify()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DAndroidSdkVersion.java22 public abstract class AndroidSdkVersion { class
25 private AndroidSdkVersion() {} in AndroidSdkVersion() method in AndroidSdkVersion