Home
last modified time | relevance | path

Searched refs:newSignerConfig (Results 1 – 4 of 4) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java366 ApkSigningBlockUtils.SignerConfig newSignerConfig = in spawnDescendant() local
368 newSignerConfig.privateKey = parent.getPrivateKey(); in spawnDescendant()
369 newSignerConfig.certificates = certificates; in spawnDescendant()
370 newSignerConfig.signatureAlgorithms = Collections.singletonList(signatureAlgorithm); in spawnDescendant()
374 ApkSigningBlockUtils.generateSignaturesOverData(newSignerConfig, signedData); in spawnDescendant()
1013 SignerConfig newSignerConfig) { in Builder() argument
1014 if (originalSignerConfig == null || newSignerConfig == null) { in Builder()
1019 mNewSignerConfig = newSignerConfig; in Builder()
DDefaultApkSignerEngine.java377 ApkSigningBlockUtils.SignerConfig newSignerConfig = in createSigningBlockSignerConfig() local
379 newSignerConfig.privateKey = signerConfig.getPrivateKey(); in createSigningBlockSignerConfig()
380 newSignerConfig.certificates = certificates; in createSigningBlockSignerConfig()
384 newSignerConfig.signatureAlgorithms = in createSigningBlockSignerConfig()
390 newSignerConfig.signatureAlgorithms = in createSigningBlockSignerConfig()
399 newSignerConfig.signatureAlgorithms = null; in createSigningBlockSignerConfig()
405 return newSignerConfig; in createSigningBlockSignerConfig()
/tools/apksig/src/test/java/com/android/apksig/
DSigningCertificateLineageTest.java488 SignerConfig newSignerConfig = Resources.toLineageSignerConfig(getClass(), in createLineageWithSignersFromResources() local
490 mSigners.add(newSignerConfig); in createLineageWithSignersFromResources()
491 return new SigningCertificateLineage.Builder(oldSignerConfig, newSignerConfig).build(); in createLineageWithSignersFromResources()
507 SignerConfig newSignerConfig = Resources.toLineageSignerConfig(getClass(), in updateLineageWithSignerFromResources() local
509 mSigners.add(newSignerConfig); in updateLineageWithSignerFromResources()
510 return lineage.spawnDescendant(oldSignerConfig, newSignerConfig); in updateLineageWithSignerFromResources()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DApkSignerTool.java631 SigningCertificateLineage.SignerConfig newSignerConfig = in rotate() local
646 newSignerConfig, in rotate()
652 new SigningCertificateLineage.Builder(oldSignerConfig, newSignerConfig) in rotate()