Home
last modified time | relevance | path

Searched refs:lineages (Results 1 – 3 of 3) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java211 List<SigningCertificateLineage> lineages = new ArrayList<>(1); in readFromApkDataSource() local
217 lineages.add(lineage); in readFromApkDataSource()
224 if (lineages.isEmpty()) { in readFromApkDataSource()
227 } else if (lineages.size() > 1) { in readFromApkDataSource()
228 result = consolidateLineages(lineages); in readFromApkDataSource()
230 result = lineages.get(0); in readFromApkDataSource()
262 List<SigningCertificateLineage> lineages = new ArrayList<>(1); in readFromSignedData() local
269 lineages.add(lineage); in readFromSignedData()
275 if (lineages.isEmpty()) { in readFromSignedData()
277 } else if (lineages.size() > 1) { in readFromSignedData()
[all …]
/tools/apksig/src/test/java/com/android/apksig/
DSigningCertificateLineageTest.java343 List<SigningCertificateLineage> lineages = Arrays.asList(lineage, updatedLineage); in testConsolidatedLineageContainsExpectedSigners() local
345 SigningCertificateLineage.consolidateLineages(lineages); in testConsolidatedLineageContainsExpectedSigners()
351 List<SigningCertificateLineage> lineages = new ArrayList<>(); in testConsolidatedLineageWithDisjointLineagesFail() local
352 lineages.add(createLineageWithSignersFromResources(FIRST_RSA_1024_SIGNER_RESOURCE_NAME, in testConsolidatedLineageWithDisjointLineagesFail()
354 lineages.add(createLineageWithSignersFromResources(FIRST_RSA_2048_SIGNER_RESOURCE_NAME, in testConsolidatedLineageWithDisjointLineagesFail()
356 SigningCertificateLineage.consolidateLineages(lineages); in testConsolidatedLineageWithDisjointLineagesFail()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java175 List<SigningCertificateLineage> lineages = new ArrayList<>(result.signers.size()); in verify() local
199 lineages.add(signer.signingCertificateLineage); in verify()
210 SigningCertificateLineage.consolidateLineages(lineages); in verify()