Home
last modified time | relevance | path

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

/tools/apksig/src/apksigner/java/com/android/apksigner/
DSignerParams.java69 private PrivateKey privateKey; field in SignerParams
143 return privateKey; in getPrivateKey()
168 && (privateKey == null) in isEmpty()
337 this.privateKey = key; in loadPrivateKeyAndCertsFromKeyStore()
436 privateKey = loadPkcs8EncodedPrivateKey(keySpec); in loadPrivateKeyAndCertsFromFiles()
/tools/apksig/src/main/java/com/android/apksig/
DDefaultApkSignerEngine.java281 v1SignerConfig.privateKey = signerConfig.getPrivateKey(); in createV1SignerConfigs()
531 newSignerConfig.privateKey = signerConfig.getPrivateKey(); in createSigningBlockSignerConfig()
1632 String name, PrivateKey privateKey, List<X509Certificate> certificates, in SignerConfig() argument
1635 mPrivateKey = privateKey; in SignerConfig()
1681 public Builder(String name, PrivateKey privateKey, List<X509Certificate> certificates) { in Builder() argument
1682 this(name, privateKey, certificates, false); in Builder()
1696 public Builder(String name, PrivateKey privateKey, List<X509Certificate> certificates, in Builder() argument
1702 mPrivateKey = privateKey; in Builder()
DSigningCertificateLineage.java399 newSignerConfig.privateKey = parent.getPrivateKey(); in spawnDescendant()
961 PrivateKey privateKey, in SignerConfig() argument
963 mPrivateKey = privateKey; in SignerConfig()
997 PrivateKey privateKey, in Builder() argument
999 mPrivateKey = privateKey; in Builder()
DApkSigner.java987 PrivateKey privateKey, in SignerConfig() argument
991 mPrivateKey = privateKey; in SignerConfig()
1039 PrivateKey privateKey, in Builder() argument
1041 this(name, privateKey, certificates, false); in Builder()
1057 PrivateKey privateKey, in Builder() argument
1064 mPrivateKey = privateKey; in Builder()
/tools/apksig/src/test/java/com/android/apksig/
DSigningCertificateLineageTest.java578 PrivateKey privateKey = in getSignerConfigFromResources() local
583 return new SignerConfig.Builder(privateKey, cert).build(); in getSignerConfigFromResources()
588 PrivateKey privateKey = in getApkSignerEngineSignerConfigFromResources() local
593 return new DefaultApkSignerEngine.SignerConfig.Builder(resourcePrefix, privateKey, in getApkSignerEngineSignerConfigFromResources()
DApkSignerTest.java2456 PrivateKey privateKey = in getDefaultSignerConfigFromResources() local
2460 return new ApkSigner.SignerConfig.Builder(keyNameInResources, privateKey, certs, in getDefaultSignerConfigFromResources()
2466 PrivateKey privateKey = in getDefaultSignerConfigFromResources() local
2470 return new ApkSigner.SignerConfig.Builder(keyNameInResources, privateKey, certs).build(); in getDefaultSignerConfigFromResources()
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DResources.java126 PrivateKey privateKey = toPrivateKey(cls, resourcePrefix + ".pk8"); in toLineageSignerConfig() local
129 return new SigningCertificateLineage.SignerConfig.Builder(privateKey, cert).build(); in toLineageSignerConfig()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DSigningExtension.java137 @Nonnull PrivateKey privateKey, in SigningExtension() argument
142 "CERT", privateKey, ImmutableList.of(certificate)).build(); in SigningExtension()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeSigner.java82 public PrivateKey privateKey; field in V1SchemeSigner.SignerConfig
518 signature.initSign(signerConfig.privateKey); in generateSignatureBlock()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java1150 signature.initSign(signerConfig.privateKey); in generateSignaturesOverData()
1258 public PrivateKey privateKey; field in ApkSigningBlockUtils.SignerConfig