/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeSigner.java | 206 signedData.maxSdkVersion = signerConfig.maxSdkVersion; in generateSignerBlock() 214 signer.maxSdkVersion = signerConfig.maxSdkVersion; in generateSignerBlock() 244 result.putInt(signer.maxSdkVersion); in encodeSigner() 281 result.putInt(signedData.maxSdkVersion); in encodeSignedData() 300 public int maxSdkVersion; field in V3SchemeSigner.V3SignatureSchemeBlock.Signer 309 public int maxSdkVersion; field in V3SchemeSigner.V3SignatureSchemeBlock.SignedData
|
D | V3SchemeVerifier.java | 102 int maxSdkVersion) in verify() argument 129 maxSdkVersion, in verify() 150 int maxSdkVersion, in verify() argument 180 int currentMax = signer.maxSdkVersion; in verify() 205 if (firstMin > minSdkVersion || lastMax < maxSdkVersion) { in verify() 299 result.maxSdkVersion = parsedMaxSdkVersion; in parseSigner() 343 supportedSignatures, result.minSdkVersion, result.maxSdkVersion); in parseSigner()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeVerifier.java | 112 int maxSdkVersion) throws IOException, ApkFormatException, NoSuchAlgorithmException { in verify() argument 113 if (minSdkVersion > maxSdkVersion) { in verify() 115 "minSdkVersion (" + minSdkVersion + ") > maxSdkVersion (" + maxSdkVersion in verify() 137 maxSdkVersion, in verify() 222 int maxSdkVersion, in verify() argument 312 apk, cdStartOffset, minSdkVersion, maxSdkVersion); in verify() 334 maxSdkVersion); in verify() 372 maxSdkVersion, in verify() 464 DataSource apk, long cdStartOffset, int minSdkVersion, int maxSdkVersion) in verifySigBlockAgainstSigFile() argument 546 maxSdkVersion); in verifySigBlockAgainstSigFile() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/ |
D | SourceStampVerifier.java | 74 int maxSdkVersion) in verifyV1SourceStamp() argument 86 maxSdkVersion, in verifyV1SourceStamp() 108 int maxSdkVersion) in verifyV2SourceStamp() argument 137 maxSdkVersion, in verifyV2SourceStamp() local 192 int maxSdkVersion, in verifySourceStampSignature() argument 230 supportedSignatures, minSdkVersion, maxSdkVersion); in verifySourceStampSignature()
|
D | V1SourceStampVerifier.java | 70 int maxSdkVersion) in verify() argument 84 maxSdkVersion, in verify() 100 int maxSdkVersion, in verify() argument 120 maxSdkVersion); in verify()
|
D | V2SourceStampVerifier.java | 72 int maxSdkVersion) in verify() argument 86 maxSdkVersion, in verify() 102 int maxSdkVersion, in verify() argument 119 maxSdkVersion); in verify()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeVerifier.java | 97 int maxSdkVersion) in verify() argument 121 maxSdkVersion, in verify() 144 int maxSdkVersion, in verify() argument 154 maxSdkVersion, in verify() 184 int maxSdkVersion, in parseSigners() argument 222 maxSdkVersion); in parseSigners() 250 int maxSdkVersion) in parseSigner() argument 295 supportedSignatures, minSdkVersion, maxSdkVersion); in parseSigner()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | ApkVerifier.java | 99 int maxSdkVersion) { in ApkVerifier() argument 104 mMaxSdkVersion = maxSdkVersion; in ApkVerifier() 173 int maxSdkVersion = mMaxSdkVersion; in verify() local 216 if (maxSdkVersion >= AndroidSdkVersion.P) { in verify() 218 } else if (maxSdkVersion >= AndroidSdkVersion.N) { in verify() 230 if (maxSdkVersion >= AndroidSdkVersion.N) { in verify() 233 if (maxSdkVersion >= AndroidSdkVersion.P) { in verify() 241 maxSdkVersion); in verify() 269 maxSdkVersion); in verify() 298 if (maxSdkVersion >= AndroidSdkVersion.O) { in verify() [all …]
|
D | DefaultApkSignerEngine.java | 338 config.maxSdkVersion = Integer.MAX_VALUE; in createV3SignerConfigs() 342 config.maxSdkVersion = currentMinSdk - 1; in createV3SignerConfigs()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | ApkSignerTool.java | 147 int maxSdkVersion = Integer.MAX_VALUE; in sign() local 172 maxSdkVersion = optionsParser.getRequiredIntValue("Maximum API Level"); in sign() 293 if ((minSdkVersionSpecified) && (minSdkVersion > maxSdkVersion)) { in sign() 295 "Min API Level (" + minSdkVersion + ") > max API Level (" + maxSdkVersion in sign() 433 int maxSdkVersion = Integer.MAX_VALUE; in verify() local 448 maxSdkVersion = optionsParser.getRequiredIntValue("Maximum API Level"); in verify() 492 && (minSdkVersion > maxSdkVersion)) { in verify() 494 "Min API Level (" + minSdkVersion + ") > max API Level (" + maxSdkVersion in verify() 503 apkVerifierBuilder.setMaxCheckedPlatformVersion(maxSdkVersion); in verify()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 1177 List<SupportedSignature> signatures, int minSdkVersion, int maxSdkVersion) in getSignaturesToVerify() argument 1192 if (sigMinSdkVersion > maxSdkVersion) { in getSignaturesToVerify() 1385 public int maxSdkVersion; field in ApkSigningBlockUtils.SignerConfig 1458 public int maxSdkVersion; field in ApkSigningBlockUtils.Result.SignerInfo
|
/tools/apksig/src/test/java/com/android/apksig/ |
D | ApkVerifierTest.java | 1129 String apkFilenameInResources, int maxSdkVersion) in verifyForMaxSdkVersion() argument 1131 return verify(apkFilenameInResources, null, maxSdkVersion); in verifyForMaxSdkVersion()
|