Home
last modified time | relevance | path

Searched refs:signerConfig (Results 1 – 7 of 7) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeSigner.java153 for (SignerConfig signerConfig : signerConfigs) { in generateApkSignatureSchemeV3Block()
157 signerBlock = generateSignerBlock(signerConfig, contentDigests); in generateApkSignatureSchemeV3Block()
173 SignerConfig signerConfig, in generateSignerBlock() argument
176 if (signerConfig.certificates.isEmpty()) { in generateSignerBlock()
179 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in generateSignerBlock()
185 signedData.certificates = encodeCertificates(signerConfig.certificates); in generateSignerBlock()
191 new ArrayList<>(signerConfig.signatureAlgorithms.size()); in generateSignerBlock()
192 for (SignatureAlgorithm signatureAlgorithm : signerConfig.signatureAlgorithms) { in generateSignerBlock()
204 signedData.minSdkVersion = signerConfig.minSdkVersion; in generateSignerBlock()
205 signedData.maxSdkVersion = signerConfig.maxSdkVersion; in generateSignerBlock()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeSigner.java167 for (SignerConfig signerConfig : signerConfigs) { in generateApkSignatureSchemeV2Block()
171 signerBlock = generateSignerBlock(signerConfig, contentDigests, v3SigningEnabled); in generateApkSignatureSchemeV2Block()
187 SignerConfig signerConfig, in generateSignerBlock() argument
191 if (signerConfig.certificates.isEmpty()) { in generateSignerBlock()
194 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in generateSignerBlock()
200 signedData.certificates = encodeCertificates(signerConfig.certificates); in generateSignerBlock()
206 new ArrayList<>(signerConfig.signatureAlgorithms.size()); in generateSignerBlock()
207 for (SignatureAlgorithm signatureAlgorithm : signerConfig.signatureAlgorithms) { in generateSignerBlock()
241 ApkSigningBlockUtils.generateSignaturesOverData(signerConfig, signer.signedData); in generateSignerBlock()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeSigner.java289 for (SignerConfig signerConfig : signerConfigs) { in signManifest()
290 String signerName = signerConfig.name; in signManifest()
293 signatureBlock = generateSignatureBlock(signerConfig, sfBytes); in signManifest()
305 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in signManifest()
321 for (SignerConfig signerConfig : signerConfigs) { in getOutputEntryNames()
322 String signerName = signerConfig.name; in getOutputEntryNames()
324 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in getOutputEntryNames()
499 SignerConfig signerConfig, byte[] signatureFileBytes) in generateSignatureBlock() argument
503 List<X509Certificate> signerCerts = signerConfig.certificates; in generateSignatureBlock()
506 DigestAlgorithm digestAlgorithm = signerConfig.signatureDigestAlgorithm; in generateSignatureBlock()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java788 for (SignerConfig signerConfig : signerConfigs) { in computeContentDigests()
789 for (SignatureAlgorithm signatureAlgorithm : signerConfig.signatureAlgorithms) { in computeContentDigests()
897 SignerConfig signerConfig, byte[] data) in generateSignaturesOverData() argument
900 new ArrayList<>(signerConfig.signatureAlgorithms.size()); in generateSignaturesOverData()
901 PublicKey publicKey = signerConfig.certificates.get(0).getPublicKey(); in generateSignaturesOverData()
902 for (SignatureAlgorithm signatureAlgorithm : signerConfig.signatureAlgorithms) { in generateSignaturesOverData()
910 signature.initSign(signerConfig.privateKey); in generateSignaturesOverData()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DSigningExtension.java140 DefaultApkSignerEngine.SignerConfig signerConfig = in SigningExtension() local
144 new DefaultApkSignerEngine.Builder(ImmutableList.of(signerConfig), minSdkVersion) in SigningExtension()
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java257 for (SignerConfig signerConfig : mSignerConfigs) { in sign()
260 signerConfig.getName(), in sign()
261 signerConfig.getPrivateKey(), in sign()
262 signerConfig.getCertificates()) in sign()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DApkSignerTool.java299 ApkSigner.SignerConfig signerConfig = in sign() local
303 signerConfigs.add(signerConfig); in sign()