Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/apk/
DApkSigningBlockUtils.java88 Map<Integer, byte[]> expectedDigests, in verifyIntegrity() argument
91 if (expectedDigests.isEmpty()) { in verifyIntegrity()
98 if (expectedDigests.containsKey(CONTENT_DIGEST_CHUNKED_SHA256)) { in verifyIntegrity()
100 expectedDigests.get(CONTENT_DIGEST_CHUNKED_SHA256)); in verifyIntegrity()
102 if (expectedDigests.containsKey(CONTENT_DIGEST_CHUNKED_SHA512)) { in verifyIntegrity()
104 expectedDigests.get(CONTENT_DIGEST_CHUNKED_SHA512)); in verifyIntegrity()
116 if (expectedDigests.containsKey(CONTENT_DIGEST_VERITY_CHUNKED_SHA256)) { in verifyIntegrity()
118 expectedDigests.get(CONTENT_DIGEST_VERITY_CHUNKED_SHA256), apk, signatureInfo); in verifyIntegrity()
128 Map<Integer, byte[]> expectedDigests, in verifyIntegrityFor1MbChunkBasedAlgorithm() argument
156 int[] digestAlgorithms = new int[expectedDigests.size()]; in verifyIntegrityFor1MbChunkBasedAlgorithm()
[all …]