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.java99 Map<Integer, byte[]> expectedDigests, in verifyIntegrity() argument
102 if (expectedDigests.isEmpty()) { in verifyIntegrity()
109 if (expectedDigests.containsKey(CONTENT_DIGEST_CHUNKED_SHA256)) { in verifyIntegrity()
111 expectedDigests.get(CONTENT_DIGEST_CHUNKED_SHA256)); in verifyIntegrity()
113 if (expectedDigests.containsKey(CONTENT_DIGEST_CHUNKED_SHA512)) { in verifyIntegrity()
115 expectedDigests.get(CONTENT_DIGEST_CHUNKED_SHA512)); in verifyIntegrity()
127 if (expectedDigests.containsKey(CONTENT_DIGEST_VERITY_CHUNKED_SHA256)) { in verifyIntegrity()
129 expectedDigests.get(CONTENT_DIGEST_VERITY_CHUNKED_SHA256), apk, signatureInfo); in verifyIntegrity()
157 Map<Integer, byte[]> expectedDigests, in verifyIntegrityFor1MbChunkBasedAlgorithm() argument
160 int[] digestAlgorithms = new int[expectedDigests.size()]; in verifyIntegrityFor1MbChunkBasedAlgorithm()
[all …]