/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeSigner.java | 235 List<SignerConfig> signerConfigs, in sign() argument 243 if (signerConfigs.isEmpty()) { in sign() 251 signerConfigs, jarEntryDigestAlgorithm, apkSigningSchemeIds, createdBy, manifest); in sign() 267 List<SignerConfig> signerConfigs, in signManifest() argument 274 if (signerConfigs.isEmpty()) { in signManifest() 280 new ArrayList<>(2 * signerConfigs.size() + 1); in signManifest() 283 for (SignerConfig signerConfig : signerConfigs) { in signManifest() 313 public static Set<String> getOutputEntryNames(List<SignerConfig> signerConfigs) { in getOutputEntryNames() argument 314 Set<String> result = new HashSet<>(2 * signerConfigs.size() + 1); in getOutputEntryNames() 315 for (SignerConfig signerConfig : signerConfigs) { in getOutputEntryNames()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeSigner.java | 145 List<SignerConfig> signerConfigs, in generateApkSignatureSchemeV2Block() argument 151 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/ |
D | DefaultApkSignerEngine.java | 161 List<SignerConfig> signerConfigs, in DefaultApkSignerEngine() argument 173 if (signerConfigs.isEmpty()) { in DefaultApkSignerEngine() 191 mSignerConfigs = signerConfigs; in DefaultApkSignerEngine() 201 SignerConfig oldestConfig = signerConfigs.get(0); in DefaultApkSignerEngine() 218 createV1SignerConfigs(signerConfigs, minSdkVersion); in DefaultApkSignerEngine() 223 private void createV1SignerConfigs(List<SignerConfig> signerConfigs, int minSdkVersion) in createV1SignerConfigs() argument 225 mV1SignerConfigs = new ArrayList<>(signerConfigs.size()); in createV1SignerConfigs() 226 Map<String, Integer> v1SignerNameToSignerIndex = new HashMap<>(signerConfigs.size()); in createV1SignerConfigs() 228 for (int i = 0; i < signerConfigs.size(); i++) { in createV1SignerConfigs() 229 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 | 115 List<SignerConfig> signerConfigs, in ApkSigner() argument 137 mSignerConfigs = signerConfigs; in ApkSigner() 1069 public Builder(List<SignerConfig> signerConfigs) { in Builder() argument 1070 if (signerConfigs.isEmpty()) { in Builder() 1073 if (signerConfigs.size() > 1) { in Builder() 1079 mSignerConfigs = new ArrayList<>(signerConfigs); in Builder()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeSigner.java | 133 List<SignerConfig> signerConfigs) in generateApkSignatureSchemeV3Block() argument 138 executor, beforeCentralDir, centralDir, eocd, signerConfigs); in generateApkSignatureSchemeV3Block() 145 List<SignerConfig> signerConfigs, Map<ContentDigestAlgorithm, byte[]> contentDigests) in generateApkSignatureSchemeV3Block() argument 149 List<byte[]> signerBlocks = new ArrayList<>(signerConfigs.size()); in generateApkSignatureSchemeV3Block() 151 for (SignerConfig signerConfig : signerConfigs) { in generateApkSignatureSchemeV3Block()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 1129 List<SignerConfig> signerConfigs) in computeContentDigests() argument 1131 if (signerConfigs.isEmpty()) { in computeContentDigests() 1138 for (SignerConfig signerConfig : signerConfigs) { in computeContentDigests() 1161 return Pair.of(signerConfigs, contentDigests); in computeContentDigests()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | ApkSignerTool.java | 305 List<ApkSigner.SignerConfig> signerConfigs = new ArrayList<>(signers.size()); in sign() local 315 signerConfigs.add(signerConfig); in sign() 338 new ApkSigner.Builder(signerConfigs) in sign()
|
/tools/apksig/src/test/java/com/android/apksig/ |
D | ApkSignerTest.java | 929 List<ApkSigner.SignerConfig> signerConfigs = in testLineageCanBeReadAfterV3Signing() local 936 new ApkSigner.Builder(signerConfigs) in testLineageCanBeReadAfterV3Signing()
|