Searched refs:messageDigest (Results 1 – 8 of 8) sorted by relevance
117 MessageDigest messageDigest; in secureHash() local119 messageDigest = MessageDigest.getInstance("SHA-1"); in secureHash()123 messageDigest.update(input); in secureHash()124 byte[] result = messageDigest.digest(); in secureHash()
104 MessageDigest messageDigest = MessageDigest.getInstance(DIGEST_ALGORITHM_SHA1); in getCertificateFingerprint() local105 if (messageDigest == null) { in getCertificateFingerprint()110 byte[] bytes = messageDigest.digest(packageInfo.signatures[0].toByteArray()); in getCertificateFingerprint()
79 public void updateDiskCacheKey(MessageDigest messageDigest) { in updateDiskCacheKey() argument80 messageDigest.update(getId().getBytes()); in updateDiskCacheKey()
147 public void updateDiskCacheKey(MessageDigest messageDigest) { in updateDiskCacheKey() argument148 messageDigest.update(getCacheKey().getBytes(CHARSET)); in updateDiskCacheKey()
141 public void updateDiskCacheKey(MessageDigest messageDigest) { in updateDiskCacheKey() argument142 messageDigest.update(getCacheKey().getBytes(CHARSET)); in updateDiskCacheKey()
130 public void updateDiskCacheKey(MessageDigest messageDigest) { in updateDiskCacheKey() argument131 messageDigest.update(getCacheKey().getBytes(CHARSET)); in updateDiskCacheKey()
175 MessageDigest messageDigest = MessageDigest.getInstance("MD5"); in hasAccessToService() local180 return isCertificateValid(messageDigest.digest(signature.toByteArray()), this.certificates); in hasAccessToService()
563 MessageDigest messageDigest = MessageDigest.getInstance("SHA-256"); in readHashFile() local567 messageDigest.update(dataBuffer, 0, bytesRead); in readHashFile()570 byte[] messageDigestBytes = messageDigest.digest(); in readHashFile()