Home
last modified time | relevance | path

Searched refs:contentDigest (Results 1 – 5 of 5) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeSigner.java245 byte[] contentDigest = contentDigests.get(contentDigestAlgorithm); in generateSignerBlock()
246 if (contentDigest == null) { in generateSignerBlock()
253 digests.add(Pair.of(signatureAlgorithm.getId(), contentDigest)); in generateSignerBlock() local
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4SchemeSigner.java382 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest contentDigest : contentDigests) { in pickBestDigest()
384 SignatureAlgorithm.findById(contentDigest.getSignatureAlgorithmId()); in pickBestDigest()
393 bestDigest = contentDigest.getValue(); in pickBestDigest()
DV4SchemeVerifier.java229 ApkSigningBlockUtils.Result.SignerInfo.ContentDigest contentDigest = in parseAndVerifySignatureBlock() local
232 result.contentDigests.add(contentDigest); in parseAndVerifySignatureBlock()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeSigner.java287 byte[] contentDigest = contentDigests.get(contentDigestAlgorithm); in generateSignerBlock()
288 if (contentDigest == null) { in generateSignerBlock()
295 digests.add(Pair.of(signatureAlgorithm.getId(), contentDigest)); in generateSignerBlock() local
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java985 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest contentDigest : in getContentDigests()
988 contentDigest.getSignatureAlgorithmId()); in getContentDigests()
993 contentDigest.getValue()); in getContentDigests()
1130 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest contentDigest : in getApkContentDigests()
1133 contentDigest.getSignatureAlgorithmId()); in getApkContentDigests()
1138 contentDigest.getValue()); in getApkContentDigests()
1226 for (ApkSigningBlockUtils.Result.SignerInfo.ContentDigest contentDigest : contentDigests) { in collectApkContentDigests()
1228 SignatureAlgorithm.findById(contentDigest.getSignatureAlgorithmId()); in collectApkContentDigests()
1234 apkContentDigests.put(contentDigestAlgorithm, contentDigest.getValue()); in collectApkContentDigests()