Searched refs:bigInt (Results 1 – 2 of 2) sorted by relevance
166 private static int bigIntegerToInt(BigInteger bigInt) throws CertificateParsingException { in bigIntegerToInt() argument167 if (bigInt.compareTo(BigInteger.valueOf(Integer.MAX_VALUE)) > 0 in bigIntegerToInt()168 || bigInt.compareTo(BigInteger.ZERO) < 0) { in bigIntegerToInt()171 return bigInt.intValue(); in bigIntegerToInt()174 private static long bigIntegerToLong(BigInteger bigInt) throws CertificateParsingException { in bigIntegerToLong() argument175 if (bigInt.compareTo(BigInteger.valueOf(Long.MAX_VALUE)) > 0 in bigIntegerToLong()176 || bigInt.compareTo(BigInteger.ZERO) < 0) { in bigIntegerToLong()179 return bigInt.longValue(); in bigIntegerToLong()
189 BigInteger bigInt = new BigInteger(1, md.digest()); in computeFileHash() local190 result = String.format("%32s", bigInt.toString(16)).replace(' ', '0'); in computeFileHash()