Home
last modified time | relevance | path

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

/tools/apksig/src/test/java/com/android/apksig/
DSigningCertificateLineageTest.java74 SigningCertificateLineage lineage = createLineageWithSignersFromResources( in testFirstRotationContainsExpectedSigners() local
76 assertLineageContainsExpectedSigners(lineage, mSigners); in testFirstRotationContainsExpectedSigners()
80 + " should not be in the lineage", lineage.isSignerInLineage(unknownSigner)); in testFirstRotationContainsExpectedSigners()
85 SigningCertificateLineage lineage = createLineageWithSignersFromResources( in testRotationWithExistingLineageContainsExpectedSigners() local
87 lineage = updateLineageWithSignerFromResources(lineage, in testRotationWithExistingLineageContainsExpectedSigners()
89 assertLineageContainsExpectedSigners(lineage, mSigners); in testRotationWithExistingLineageContainsExpectedSigners()
97 SigningCertificateLineage lineage = SigningCertificateLineage.readFromBytes( in testLineageFromBytesContainsExpectedSigners() local
106 assertLineageContainsExpectedSigners(lineage, signers); in testLineageFromBytesContainsExpectedSigners()
114 SigningCertificateLineage lineage = SigningCertificateLineage.readFromDataSource( in testLineageFromFileContainsExpectedSigners() local
123 assertLineageContainsExpectedSigners(lineage, signers); in testLineageFromFileContainsExpectedSigners()
[all …]
DApkSignerTest.java137 SigningCertificateLineage lineage = in generateGoldenFiles() local
231 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
241 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
250 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
303 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
312 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
321 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
352 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
361 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
370 .setSigningCertificateLineage(lineage)); in generateGoldenFiles()
[all …]
/tools/apksig/src/apksigner/java/com/android/apksigner/
DApkSignerTool.java101 lineage(Arrays.copyOfRange(params, 1, params.length)); in main()
158 SigningCertificateLineage lineage = null; in sign() local
252 lineage = getLineageFromInputFile(lineageFile); in sign()
377 .setSigningCertificateLineage(lineage) in sign()
820 SigningCertificateLineage lineage; in rotate() local
823 lineage = getLineageFromInputFile(inputKeyLineage); in rotate()
824 lineage.updateSignerCapabilities( in rotate()
826 lineage = in rotate()
827 lineage.spawnDescendant( in rotate()
834 lineage = in rotate()
[all …]
Dhelp_lineage.txt1 USAGE: apksigner lineage [options]
14 specified; the lineage will then be read from the signed data in the APK.
38 To modify the capabilities of a previous signer in the lineage the signer's
182 $ apksigner lineage --in /path/to/existing/lineage --out /path/to/new/file \
187 2. Display details about the signing certificates and their capabilities in the lineage:
188 $ apksigner lineage --in /path/to/existing/lineage --print-certs -v
Dhelp_sign.txt40 "lineage" option to make sure that the app is signed by
93 --lineage Signing certificate history to use in the event that
98 APK must be present in the signing lineage,
100 entry in the lineage must have a signer provided, so that
104 points in the lineage and will be used on older platform
105 versions when the newest signer in the lineage is
108 can also be specified; the lineage will then be read from
286 --lineage /path/to/signing/history/lineage app.apk
Dhelp_rotate.txt14 specified; the lineage will then be read from the signed data in the APK.
50 Prior to Android 12, if multiple apps shared a common signer in their signing lineage
52 declared for this signer in one of the app's signing lineage to be assigned to this same
53 common signer in the lineage of the rest of the apps. Apps that use the default capabilities,
54 or that assign the same capabilities to a common signer in their lineage, are not impacted
210 $ 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/internal/apk/stamp/
DV2SourceStampSigner.java204 private static Map<Integer, byte[]> generateStampAttributes(SigningCertificateLineage lineage) { in generateStampAttributes() argument
222 if (lineage != null) { in generateStampAttributes()
224 lineage.encodeSigningCertificateLineage()); in generateStampAttributes()
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java241 SigningCertificateLineage lineage = readFromSignedData(signedData); in readFromApkDataSource() local
242 lineages.add(lineage); in readFromApkDataSource()
295 SigningCertificateLineage lineage = readFromV3AttributeValue(value); in readFromSignedData() local
296 lineages.add(lineage); in readFromSignedData()
DApkVerifier.java434 SigningCertificateLineage lineage = result.getSigningCertificateLineage(); in verify() local
453 if (lineage == null) { in verify()
476 lineage = lineage.getSubLineage(oldSignerCert); in verify()
477 if (lineage.size() != 1) { in verify()