Home
last modified time | relevance | path

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

/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/test/java/com/android/apksig/
DApkVerifierTest.java26 import com.android.apksig.internal.util.AndroidSdkVersion;
264 "v2-only-with-dsa-sha256-%s.apk", DSA_KEY_NAMES, AndroidSdkVersion.N); in testV2OneSignerOneSignatureAccepted()
266 "v2-only-with-ecdsa-sha256-%s.apk", EC_KEY_NAMES, AndroidSdkVersion.N); in testV2OneSignerOneSignatureAccepted()
268 "v2-only-with-rsa-pkcs1-sha256-%s.apk", RSA_KEY_NAMES, AndroidSdkVersion.N); in testV2OneSignerOneSignatureAccepted()
275 "v2-only-with-ecdsa-sha512-%s.apk", EC_KEY_NAMES, AndroidSdkVersion.N); in testV2OneSignerOneSignatureAccepted()
277 "v2-only-with-rsa-pkcs1-sha512-%s.apk", RSA_KEY_NAMES, AndroidSdkVersion.N); in testV2OneSignerOneSignatureAccepted()
285 "v2-only-with-rsa-pss-sha256-%s.apk", RSA_KEY_NAMES, AndroidSdkVersion.N); in testV2OneSignerOneRsaPssSignatureAccepted()
289 AndroidSdkVersion.N); in testV2OneSignerOneRsaPssSignatureAccepted()
391 "v2-only-unknown-pair-in-apk-sig-block.apk", AndroidSdkVersion.N)); in testV2UnknownPairIgnoredInApkSigningBlock()
401 "v2-only-with-ignorable-unsupported-sig-algs.apk", AndroidSdkVersion.N)); in testV2UnknownSignatureAlgorithmsIgnored()
[all …]
/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
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java28 import com.android.apksig.internal.util.AndroidSdkVersion;
192 if (maxSdkVersion >= AndroidSdkVersion.N) { in verify()
195 if (maxSdkVersion >= AndroidSdkVersion.P) { in verify()
201 Math.max(minSdkVersion, AndroidSdkVersion.P), in verify()
217 if (minSdkVersion < AndroidSdkVersion.P || foundApkSigSchemeIds.isEmpty()) { in verify()
225 Math.max(minSdkVersion, AndroidSdkVersion.N), in verify()
240 if (maxSdkVersion >= AndroidSdkVersion.O) { in verify()
259 if ((minSdkVersion < AndroidSdkVersion.N) || (foundApkSigSchemeIds.isEmpty())) { in verify()
DSigningCertificateLineage.java27 import com.android.apksig.internal.util.AndroidSdkVersion;
347 int minSdkVersion = AndroidSdkVersion.P; // lineage introduced in P in calculateMinSdkVersion()
768 if (mMinSdkVersion < AndroidSdkVersion.P) { in build()
769 mMinSdkVersion = AndroidSdkVersion.P; in build()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java31 import com.android.apksig.internal.util.AndroidSdkVersion;
117 if (minSdkVersion < AndroidSdkVersion.P) { in verify()
118 minSdkVersion = AndroidSdkVersion.P; in verify()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java38 import com.android.apksig.internal.util.AndroidSdkVersion;
491 if (minSdkVersion < AndroidSdkVersion.N) { in verifySigBlockAgainstSigFile()
661 if (minSdkVersion < AndroidSdkVersion.KITKAT) { in verifySignerInfoAgainstSigFile()
677 + AndroidSdkVersion.KITKAT); in verifySignerInfoAgainstSigFile()
684 if (maxSdkVersion >= AndroidSdkVersion.N) { in verifySignerInfoAgainstSigFile()
1323 if (maxSdkVersion >= AndroidSdkVersion.N) { in verifySigFileAgainstManifest()
1619 if (minSdkVersion < AndroidSdkVersion.JELLY_BEAN_MR2) { in getDigestsToVerify()
1655 if (maxSdkVersion >= AndroidSdkVersion.JELLY_BEAN_MR2) { in getDigestsToVerify()
1725 "SHA-384", AndroidSdkVersion.GINGERBREAD);
1727 "SHA-512", AndroidSdkVersion.GINGERBREAD);