Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtilsLite.java190 MessageDigest messageDigest; in computeSha256DigestBytes() local
192 messageDigest = MessageDigest.getInstance("SHA-256"); in computeSha256DigestBytes()
196 messageDigest.update(data); in computeSha256DigestBytes()
197 return messageDigest.digest(); in computeSha256DigestBytes()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DSourceStampVerifier.java208 MessageDigest messageDigest = MessageDigest.getInstance("SHA-256"); in verifySourceStampCertificate() local
209 messageDigest.update(sourceStampEncodedCertificate); in verifySourceStampCertificate()
210 byte[] sourceStampBlockCertificateDigest = messageDigest.digest(); in verifySourceStampCertificate()
/tools/apksig/src/main/java/com/android/apksig/
DDefaultApkSignerEngine.java891 MessageDigest messageDigest = in outputJarEntries() local
894 messageDigest.update(generateSourceStampCertificateDigest()); in outputJarEntries()
896 SOURCE_STAMP_CERTIFICATE_HASH_ZIP_ENTRY_NAME, messageDigest.digest()); in outputJarEntries()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java414 MessageDigest messageDigest = chunkDigests.createMessageDigest(); in computeOneMbChunkContentDigests() local
417 messageDigest.digest(chunkDigests.concatOfDigestsOfChunks)); in computeOneMbChunkContentDigests()
/tools/apksig/src/test/java/com/android/apksig/
DApkSignerTest.java1212 MessageDigest messageDigest = MessageDigest.getInstance("SHA-256"); in testSignApk_stampFile() local
1213 messageDigest.update(sourceStampSigner.getCertificates().get(0).getEncoded()); in testSignApk_stampFile()
1214 byte[] expectedStampCertificateDigest = messageDigest.digest(); in testSignApk_stampFile()