Package com.nimbusds.jose.util
Class BigIntegerUtils
java.lang.Object
com.nimbusds.jose.util.BigIntegerUtils
Big integer utilities.
- Version:
- 2013-03-21
- Author:
- Vladimir Dzhuvinov
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
toBytesUnsigned
(BigInteger bigInt) Returns a byte array representation of the specified big integer without the sign bit.
-
Method Details
-
toBytesUnsigned
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.
-