Home
last modified time | relevance | path

Searched refs:lineage (Results 1 – 9 of 9) sorted by relevance

/tools/apksig/src/test/java/com/android/apksig/
DSigningCertificateLineageTest.java78 SigningCertificateLineage lineage = createLineageWithSignersFromResources( in testFirstRotationContainsExpectedSigners() local
80 assertLineageContainsExpectedSigners(lineage, mSigners); in testFirstRotationContainsExpectedSigners()
84 + " should not be in the lineage", lineage.isSignerInLineage(unknownSigner)); in testFirstRotationContainsExpectedSigners()
89 SigningCertificateLineage lineage = createLineageWithSignersFromResources( in testRotationWithExistingLineageContainsExpectedSigners() local
91 lineage = updateLineageWithSignerFromResources(lineage, in testRotationWithExistingLineageContainsExpectedSigners()
93 assertLineageContainsExpectedSigners(lineage, mSigners); in testRotationWithExistingLineageContainsExpectedSigners()
101 SigningCertificateLineage lineage = SigningCertificateLineage.readFromDataSource( in testLineageFromFileContainsExpectedSigners() local
110 assertLineageContainsExpectedSigners(lineage, signers); in testLineageFromFileContainsExpectedSigners()
116 SigningCertificateLineage lineage = Resources.toSigningCertificateLineage(getClass(), in testLineageFromFileDoesNotContainUnknownSigner() local
121 + " should not be in the lineage", lineage.isSignerInLineage(unknownSigner)); in testLineageFromFileDoesNotContainUnknownSigner()
[all …]
DApkSignerTest.java97 SigningCertificateLineage lineage = Resources.toSigningCertificateLineage( in generateGoldenFiles() local
186 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
194 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
202 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
254 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
262 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
270 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
300 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
308 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
316 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
[all …]
/tools/apksig/src/apksigner/java/com/android/apksigner/
DApkSignerTool.java92 lineage(Arrays.copyOfRange(params, 1, params.length)); in main()
129 SigningCertificateLineage lineage = null; in sign() local
204 lineage = getLineageFromInputFile(lineageFile); in sign()
334 .setSigningCertificateLineage(lineage); in sign()
637 SigningCertificateLineage lineage; in rotate() local
640 lineage = getLineageFromInputFile(inputKeyLineage); in rotate()
641 lineage.updateSignerCapabilities( in rotate()
643 lineage = in rotate()
644 lineage.spawnDescendant( in rotate()
651 lineage = in rotate()
[all …]
Dhelp_sign.txt40 "lineage" option to make sure that the app is signed by
62 --lineage Signing certificate history to use in the event that
67 APK must be present in the signing lineage,
69 entry in the lineage must have a signer provided, so that
73 points in the lineage and will be used on older platform
74 versions when the newest signer in the lineage is
77 can also be specified; the lineage will then be read from
240 --lineage /path/to/signing/history/lineage app.apk
Dhelp_lineage.txt1 USAGE: apksigner lineage [options]
14 specified; the lineage will then be read from the signed data in the APK.
34 To modify the capabilities of a previous signer in the lineage the signer's
178 $ apksigner lineage --in /path/to/existing/lineage --out /path/to/new/file \
183 2. Display details about the signing certificates and their capabilities in the lineage:
184 $ apksigner lineage --in /path/to/existing/lineage --print-certs -v
Dhelp_rotate.txt14 specified; the lineage will then be read from the signed data in the APK.
203 $ apksigner rotate --in /path/to/existing/lineage --out /path/to/new/file \
Dhelp.txt21 lineage Modify the capabilities of one or more signers in an existing
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java349 SigningCertificateLineage lineage = result.getSigningCertificateLineage(); in verify() local
368 if (lineage == null) { in verify()
391 lineage = lineage.getSubLineage(oldSignerCert); in verify()
392 if (lineage.size() != 1) { in verify()
DSigningCertificateLineage.java216 SigningCertificateLineage lineage = readFromSignedData(signedData); in readFromApkDataSource() local
217 lineages.add(lineage); in readFromApkDataSource()
268 SigningCertificateLineage lineage = readFromV3AttributeValue(value); in readFromSignedData() local
269 lineages.add(lineage); in readFromSignedData()