Package com.nimbusds.jose.util
Class BigIntegerUtils
- java.lang.Object
-
- com.nimbusds.jose.util.BigIntegerUtils
-
public class BigIntegerUtils extends Object
Big integer utilities.- Version:
- 2013-03-21
- Author:
- Vladimir Dzhuvinov
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
toBytesUnsigned(BigInteger bigInt)
Returns a byte array representation of the specified big integer without the sign bit.
-
-
-
Method Detail
-
toBytesUnsigned
public static byte[] toBytesUnsigned(BigInteger bigInt)
Returns a byte array representation of the specified big integer without the sign bit.- Parameters:
bigInt
- The big integer to be converted. Must not benull
.- Returns:
- A byte array representation of the big integer, without the sign bit.
-
-