Searched refs:messageDigest (Results 1 – 5 of 5) sorted by relevance
87 MessageDigest messageDigest = MessageDigest.getInstance("SHA256"); in getSignatureDigest() local88 messageDigest.update(packageInfo.signingInfo.getApkContentsSigners()[0].toByteArray()); in getSignatureDigest()90 final byte[] digest = messageDigest.digest(); in getSignatureDigest()
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()
127 MessageDigest messageDigest = MessageDigest.getInstance("SHA256"); in computePackageSignatureDigest() local128 messageDigest.update(packageInfo.signatures[0].toByteArray()); in computePackageSignatureDigest()130 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()