Searched refs:messageDigest (Results 1 – 4 of 4) sorted by relevance
95 MessageDigest messageDigest = MessageDigest.getInstance("SHA256"); in computePackageSignatureDigest() local96 messageDigest.update(packageInfo.signatures[0].toByteArray()); in computePackageSignatureDigest()98 final byte[] digest = messageDigest.digest(); in computePackageSignatureDigest()
109 MessageDigest messageDigest = MessageDigest.getInstance("SHA256"); in computePackageSignatureDigest() local110 messageDigest.update(packageInfo.signatures[0].toByteArray()); in computePackageSignatureDigest()112 final byte[] digest = messageDigest.digest(); in computePackageSignatureDigest()
225 MessageDigest messageDigest = MessageDigest.getInstance("SHA256"); in computeSha256DigestBytes() local226 messageDigest.update(data); in computeSha256DigestBytes()227 return messageDigest.digest(); in computeSha256DigestBytes()
194 MessageDigest messageDigest = MessageDigest.getInstance("SHA1"); in getFingerprint() local195 messageDigest.update(certificate.getEncoded()); in getFingerprint()196 byte[] sha1 = messageDigest.digest(); in getFingerprint()