Searched refs:signerConfig (Results 1 – 7 of 7) sorted by relevance
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeSigner.java | 153 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/ |
D | V2SchemeSigner.java | 167 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/ |
D | V1SchemeSigner.java | 289 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/ |
D | ApkSigningBlockUtils.java | 788 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/ |
D | SigningExtension.java | 140 DefaultApkSignerEngine.SignerConfig signerConfig = in SigningExtension() local 144 new DefaultApkSignerEngine.Builder(ImmutableList.of(signerConfig), minSdkVersion) in SigningExtension()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | ApkSigner.java | 257 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/ |
D | ApkSignerTool.java | 299 ApkSigner.SignerConfig signerConfig = in sign() local 303 signerConfigs.add(signerConfig); in sign()
|