Home
last modified time | relevance | path

Searched refs:bigInt (Results 1 – 1 of 1) sorted by relevance

/cts/tests/security/src/android/keystore/cts/
DAsn1Utils.java166 private static int bigIntegerToInt(BigInteger bigInt) throws CertificateParsingException { in bigIntegerToInt() argument
167 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() argument
175 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()