/tools/apksig/src/main/java/com/android/apksig/ |
D | DefaultApkSignerEngine.java | 149 List<SignerConfig> signerConfigs, in DefaultApkSignerEngine() argument 158 if (signerConfigs.isEmpty()) { in DefaultApkSignerEngine() 175 mSignerConfigs = signerConfigs; in DefaultApkSignerEngine() 184 SignerConfig oldestConfig = signerConfigs.get(0); in DefaultApkSignerEngine() 202 createV1SignerConfigs(signerConfigs, minSdkVersion); in DefaultApkSignerEngine() 207 private void createV1SignerConfigs(List<SignerConfig> signerConfigs, int minSdkVersion) in createV1SignerConfigs() argument 209 mV1SignerConfigs = new ArrayList<>(signerConfigs.size()); in createV1SignerConfigs() 210 Map<String, Integer> v1SignerNameToSignerIndex = new HashMap<>(signerConfigs.size()); in createV1SignerConfigs() 212 for (int i = 0; i < signerConfigs.size(); i++) { in createV1SignerConfigs() 213 SignerConfig signerConfig = signerConfigs.get(i); in createV1SignerConfigs() [all …]
|
D | SigningCertificateLineage.java | 511 List<DefaultApkSignerEngine.SignerConfig> signerConfigs) { in sortSignerConfigs() argument 512 if (signerConfigs == null) { in sortSignerConfigs() 520 new ArrayList<>(signerConfigs.size()); in sortSignerConfigs() 522 for (int j = 0; j < signerConfigs.size(); j++) { in sortSignerConfigs() 523 DefaultApkSignerEngine.SignerConfig config = signerConfigs.get(j); in sortSignerConfigs() 530 if (sortedSignerConfigs.size() != signerConfigs.size()) { in sortSignerConfigs()
|
D | ApkSigner.java | 110 List<SignerConfig> signerConfigs, in ApkSigner() argument 126 mSignerConfigs = signerConfigs; in ApkSigner() 995 public Builder(List<SignerConfig> signerConfigs) { in Builder() argument 996 if (signerConfigs.isEmpty()) { in Builder() 999 if (signerConfigs.size() > 1) { in Builder() 1005 mSignerConfigs = new ArrayList<>(signerConfigs); in Builder()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeSigner.java | 241 List<SignerConfig> signerConfigs, in sign() argument 249 if (signerConfigs.isEmpty()) { in sign() 257 signerConfigs, jarEntryDigestAlgorithm, apkSigningSchemeIds, createdBy, manifest); in sign() 273 List<SignerConfig> signerConfigs, in signManifest() argument 280 if (signerConfigs.isEmpty()) { in signManifest() 286 new ArrayList<>(2 * signerConfigs.size() + 1); in signManifest() 289 for (SignerConfig signerConfig : signerConfigs) { in signManifest() 319 public static Set<String> getOutputEntryNames(List<SignerConfig> signerConfigs) { in getOutputEntryNames() argument 320 Set<String> result = new HashSet<>(2 * signerConfigs.size() + 1); in getOutputEntryNames() 321 for (SignerConfig signerConfig : signerConfigs) { in getOutputEntryNames()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeSigner.java | 146 List<SignerConfig> signerConfigs, in generateApkSignatureSchemeV2Block() argument 153 executor, beforeCentralDir, centralDir, eocd, signerConfigs); in generateApkSignatureSchemeV2Block() 159 List<SignerConfig> signerConfigs, in generateApkSignatureSchemeV2Block() argument 166 List<byte[]> signerBlocks = new ArrayList<>(signerConfigs.size()); in generateApkSignatureSchemeV2Block() 168 for (SignerConfig signerConfig : signerConfigs) { in generateApkSignatureSchemeV2Block()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeSigner.java | 135 List<SignerConfig> signerConfigs) in generateApkSignatureSchemeV3Block() argument 141 executor, beforeCentralDir, centralDir, eocd, signerConfigs); in generateApkSignatureSchemeV3Block() 146 List<SignerConfig> signerConfigs, in generateApkSignatureSchemeV3Block() argument 152 List<byte[]> signerBlocks = new ArrayList<>(signerConfigs.size()); in generateApkSignatureSchemeV3Block() 154 for (SignerConfig signerConfig : signerConfigs) { in generateApkSignatureSchemeV3Block()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 1066 List<SignerConfig> signerConfigs) in computeContentDigests() argument 1068 if (signerConfigs.isEmpty()) { in computeContentDigests() 1075 for (SignerConfig signerConfig : signerConfigs) { in computeContentDigests() 1098 return Pair.of(signerConfigs, contentDigests); in computeContentDigests()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | ApkSignerTool.java | 270 List<ApkSigner.SignerConfig> signerConfigs = new ArrayList<>(signers.size()); in sign() local 311 signerConfigs.add(signerConfig); in sign() 326 new ApkSigner.Builder(signerConfigs) in sign()
|
/tools/apksig/src/test/java/com/android/apksig/ |
D | ApkSignerTest.java | 809 List<ApkSigner.SignerConfig> signerConfigs = Arrays.asList( in testLineageCanBeReadAfterV3Signing() local 812 DataSource out = sign("original.apk", new ApkSigner.Builder(signerConfigs) in testLineageCanBeReadAfterV3Signing()
|