Searched refs:SigningCertificateLineage (Results 1 – 16 of 16) sorted by relevance
/tools/apksig/src/test/java/com/android/apksig/ |
D | SigningCertificateLineageTest.java | 31 import com.android.apksig.SigningCertificateLineage.SignerConfig; 32 import com.android.apksig.SigningCertificateLineage.SignerCapabilities; 78 SigningCertificateLineage lineage = createLineageWithSignersFromResources( in testFirstRotationContainsExpectedSigners() 89 SigningCertificateLineage lineage = createLineageWithSignersFromResources( in testRotationWithExistingLineageContainsExpectedSigners() 101 SigningCertificateLineage lineage = SigningCertificateLineage.readFromDataSource( in testLineageFromFileContainsExpectedSigners() 116 SigningCertificateLineage lineage = Resources.toSigningCertificateLineage(getClass(), in testLineageFromFileDoesNotContainUnknownSigner() 139 SigningCertificateLineage lineage = createLineageWithSignersFromResources( in testLineageWrittenToFileContainsExpectedSigners() 146 lineage = SigningCertificateLineage.readFromFile(lineageFile); in testLineageWrittenToFileContainsExpectedSigners() 152 SigningCertificateLineage lineage = createLineageWithSignersFromResources( in testUpdatedCapabilitiesInLineage() 164 SigningCertificateLineage lineage = createLineageWithSignersFromResources( in testUpdatedCapabilitiesInLineageWrittenToFile() [all …]
|
D | ApkSignerTest.java | 97 SigningCertificateLineage lineage = Resources.toSigningCertificateLineage( in generateGoldenFiles() 356 SigningCertificateLineage lineage = Resources.toSigningCertificateLineage(getClass(), in testAlignmentPreserved_Golden() 712 SigningCertificateLineage lineage = Resources.toSigningCertificateLineage(getClass(), in testV3SigningWithSignersNotInLineageFails() 728 SigningCertificateLineage lineage = Resources.toSigningCertificateLineage(getClass(), in testSigningWithLineageRequiresOldestSignerForV1AndV2() 803 SigningCertificateLineage.SignerConfig firstSigner = Resources.toLineageSignerConfig( in testLineageCanBeReadAfterV3Signing() 805 SigningCertificateLineage.SignerConfig secondSigner = Resources.toLineageSignerConfig( in testLineageCanBeReadAfterV3Signing() 807 SigningCertificateLineage lineage = new SigningCertificateLineage.Builder(firstSigner, in testLineageCanBeReadAfterV3Signing() 815 SigningCertificateLineage lineageFromApk = SigningCertificateLineage.readFromApkDataSource( in testLineageCanBeReadAfterV3Signing()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | SigningCertificateLineage.java | 71 public class SigningCertificateLineage { class 109 private SigningCertificateLineage(int minSdkVersion, List<SigningCertificateNode> list) { in SigningCertificateLineage() method in SigningCertificateLineage 114 private static SigningCertificateLineage createSigningLineage( in createSigningLineage() 119 SigningCertificateLineage signingCertificateLineage = in createSigningLineage() 120 new SigningCertificateLineage(minSdkVersion, new ArrayList<>()); in createSigningLineage() 126 public static SigningCertificateLineage readFromFile(File file) in readFromFile() 135 public static SigningCertificateLineage readFromDataSource(DataSource dataSource) in readFromDataSource() 155 public static SigningCertificateLineage readFromV3AttributeValue(byte[] attrValue) in readFromV3AttributeValue() 161 return new SigningCertificateLineage(minSdkVersion, parsedLineage); in readFromV3AttributeValue() 171 public static SigningCertificateLineage readFromApkFile(File apkFile) in readFromApkFile() [all …]
|
D | DefaultApkSignerEngine.java | 87 private final SigningCertificateLineage mSigningCertificateLineage; 157 SigningCertificateLineage signingCertificateLineage) throws InvalidKeyException { in DefaultApkSignerEngine() 189 SigningCertificateLineage subLineage = in DefaultApkSignerEngine() 271 SigningCertificateLineage subLineage = in createV2SignerConfigs() 1332 private SigningCertificateLineage mSigningCertificateLineage; 1498 SigningCertificateLineage signingCertificateLineage) { in setSigningCertificateLineage()
|
D | ApkSigner.java | 107 private final SigningCertificateLineage mSigningCertificateLineage; 124 SigningCertificateLineage signingCertificateLineage) { in ApkSigner() 974 private SigningCertificateLineage mSigningCertificateLineage; 1280 SigningCertificateLineage signingCertificateLineage) { in setSigningCertificateLineage()
|
D | ApkVerifier.java | 349 SigningCertificateLineage lineage = result.getSigningCertificateLineage(); in verify() 522 private SigningCertificateLineage mSigningCertificateLineage; 612 public SigningCertificateLineage getSigningCertificateLineage() { in getSigningCertificateLineage()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | ApkSignerTool.java | 21 import com.android.apksig.SigningCertificateLineage; 22 import com.android.apksig.SigningCertificateLineage.SignerCapabilities; 129 SigningCertificateLineage lineage = null; in sign() 623 SigningCertificateLineage.SignerConfig oldSignerConfig = in rotate() 624 new SigningCertificateLineage.SignerConfig.Builder( in rotate() 631 SigningCertificateLineage.SignerConfig newSignerConfig = in rotate() 632 new SigningCertificateLineage.SignerConfig.Builder( in rotate() 637 SigningCertificateLineage lineage; in rotate() 652 new SigningCertificateLineage.Builder(oldSignerConfig, newSignerConfig) in rotate() 681 SigningCertificateLineage lineage = null; in lineage() [all …]
|
D | help_rotate.txt | 3 This takes the provided keys and creates a SigningCertificateLineage entry linking the old to the 9 --in Input SigningCertificateLineage. This file contains a binary representation of 10 a SigningCertificateLineage object, which contains the proof-of-rotation for 13 An APK previously signed with a SigningCertificateLineage can also be 17 SigningCertificateLineage object. 28 be used to sign a new entry in the SigningCertificateLineage allowing the 29 addition of the new-signer. If an input SigningCertificateLineage object was 198 1. Create a new SigningCertificateLineage to enable rotation: 202 2. Extend an existing SigningCertificateLineage to rotate again after previous rotation: 206 3. Create a new SigningCertificateLineage with explicit capabilities for the previous signer:
|
D | help_lineage.txt | 3 This modifies the capabilities of one or more signers in the provided SigningCertificateLineage. 10 --in Input SigningCertificateLineage. This file contains a binary representation of 11 a SigningCertificateLineage object which contains the proof-of-rotation for 13 An APK previously signed with a SigningCertificateLineage can also be 17 SigningCertificateLineage object. 20 in the SigningCertificateLineage. 28 This option is required for each signer to be modified in the provided SigningCertificateLineage.
|
D | help.txt | 14 rotate Add a new signing certificate to the SigningCertificateLineage 22 SigningCertificateLineage
|
D | SignerParams.java | 19 import com.android.apksig.SigningCertificateLineage.SignerCapabilities;
|
D | help_sign.txt | 76 An APK previously signed with a SigningCertificateLineage
|
/tools/apksig/src/test/java/com/android/apksig/internal/util/ |
D | Resources.java | 20 import com.android.apksig.SigningCertificateLineage; 124 public static SigningCertificateLineage.SignerConfig toLineageSignerConfig(Class<?> cls, in toLineageSignerConfig() 129 return new SigningCertificateLineage.SignerConfig.Builder(privateKey, cert).build(); in toLineageSignerConfig() 138 public static SigningCertificateLineage toSigningCertificateLineage(Class<?> cls, in toSigningCertificateLineage() 141 return SigningCertificateLineage.readFromDataSource(lineageDataSource); in toSigningCertificateLineage()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeVerifier.java | 23 import com.android.apksig.SigningCertificateLineage; 175 List<SigningCertificateLineage> lineages = new ArrayList<>(result.signers.size()); in verify() 210 SigningCertificateLineage.consolidateLineages(lineages); in verify() 500 SigningCertificateLineage.readFromV3AttributeValue(value); in parseSigner() 502 SigningCertificateLineage subLineage = in parseSigner()
|
D | V3SchemeSigner.java | 25 import com.android.apksig.SigningCertificateLineage;
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 20 import com.android.apksig.SigningCertificateLineage; 1257 public SigningCertificateLineage mSigningCertificateLineage; 1267 public SigningCertificateLineage signingCertificateLineage = null; 1316 public SigningCertificateLineage signingCertificateLineage;
|