Home
last modified time | relevance | path

Searched refs:signers (Results 1 – 8 of 8) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java162 for (ApkSigningBlockUtils.Result.SignerInfo signer : result.signers) { in verify()
172 List<SigningCertificateLineage> lineages = new ArrayList<>(result.signers.size()); in verify()
232 ByteBuffer signers; in parseSigners() local
234 signers = getLengthPrefixedSlice(apkSignatureSchemeV3Block); in parseSigners()
239 if (!signers.hasRemaining()) { in parseSigners()
251 while (signers.hasRemaining()) { in parseSigners()
257 result.signers.add(signerInfo); in parseSigners()
259 ByteBuffer signer = getLengthPrefixedSlice(signers); in parseSigners()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java252 List<Signer> signers = new ArrayList<>(sigBlockEntries.size()); in verify() local
274 signers.add(signer); in verify()
276 if (signers.isEmpty()) { in verify()
284 for (Signer signer : signers) { in verify()
288 result.signers.add(signer.getResult()); in verify()
299 List<Signer> remainingSigners = new ArrayList<>(signers.size()); in verify()
300 for (Signer signer : signers) { in verify()
313 result.signers.add(signer.getResult()); in verify()
322 signers = remainingSigners; in verify()
323 if (signers.isEmpty()) { in verify()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java182 ByteBuffer signers; in parseSigners() local
184 signers = ApkSigningBlockUtils.getLengthPrefixedSlice(apkSignatureSchemeV2Block); in parseSigners()
189 if (!signers.hasRemaining()) { in parseSigners()
201 while (signers.hasRemaining()) { in parseSigners()
207 result.signers.add(signerInfo); in parseSigners()
209 ByteBuffer signer = ApkSigningBlockUtils.getLengthPrefixedSlice(signers); in parseSigners()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DApkSignerTool.java126 List<SignerParams> signers = new ArrayList<>(1); in sign() local
155 signers.add(signerParams); in sign()
220 signers.add(signerParams); in sign()
228 if (signers.isEmpty()) { in sign()
262 List<ApkSigner.SignerConfig> signerConfigs = new ArrayList<>(signers.size()); in sign()
265 for (SignerParams signer : signers) { in sign()
Dhelp_sign.txt4 is performed using one or more signers, each represented by an asymmetric key
57 options of different signers, use --next-signer.
59 --next-signer Delimits options of two different signers. There is no
95 order in which signers are specified and, within each
118 order in which signers are specified and, within each
/tools/apksig/src/test/java/com/android/apksig/
DApkVerifierTest.java511 List<ApkVerifier.Result.V1SchemeSignerInfo> signers = result.getV1SchemeSigners(); in testV1SchemeSignatureCertNotReencoded() local
512 if (signers.size() > 0) { in testV1SchemeSignatureCertNotReencoded()
513 ApkVerifier.Result.V1SchemeSignerInfo signer = signers.get(0); in testV1SchemeSignatureCertNotReencoded()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java193 for (Result.SignerInfo signerInfo : result.signers) { in verifyIntegrity()
978 public final List<SignerInfo> signers = new ArrayList<>(); field in ApkSigningBlockUtils.Result
991 if (!signers.isEmpty()) { in containsErrors()
992 for (SignerInfo signer : signers) { in containsErrors()
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java614 for (V1SchemeVerifier.Result.SignerInfo signer : source.signers) { in mergeFrom()
626 for (ApkSigningBlockUtils.Result.SignerInfo signer : source.signers) { in mergeFrom()
632 for (ApkSigningBlockUtils.Result.SignerInfo signer : source.signers) { in mergeFrom()