Searched refs:messageDigest (Results 1 – 5 of 5) sorted by relevance
190 MessageDigest messageDigest; in computeSha256DigestBytes() local192 messageDigest = MessageDigest.getInstance("SHA-256"); in computeSha256DigestBytes()196 messageDigest.update(data); in computeSha256DigestBytes()197 return messageDigest.digest(); in computeSha256DigestBytes()
208 MessageDigest messageDigest = MessageDigest.getInstance("SHA-256"); in verifySourceStampCertificate() local209 messageDigest.update(sourceStampEncodedCertificate); in verifySourceStampCertificate()210 byte[] sourceStampBlockCertificateDigest = messageDigest.digest(); in verifySourceStampCertificate()
891 MessageDigest messageDigest = in outputJarEntries() local894 messageDigest.update(generateSourceStampCertificateDigest()); in outputJarEntries()896 SOURCE_STAMP_CERTIFICATE_HASH_ZIP_ENTRY_NAME, messageDigest.digest()); in outputJarEntries()
414 MessageDigest messageDigest = chunkDigests.createMessageDigest(); in computeOneMbChunkContentDigests() local417 messageDigest.digest(chunkDigests.concatOfDigestsOfChunks)); in computeOneMbChunkContentDigests()
1212 MessageDigest messageDigest = MessageDigest.getInstance("SHA-256"); in testSignApk_stampFile() local1213 messageDigest.update(sourceStampSigner.getCertificates().get(0).getEncoded()); in testSignApk_stampFile()1214 byte[] expectedStampCertificateDigest = messageDigest.digest(); in testSignApk_stampFile()