org.bouncycastle.util
Class BigIntegers
java.lang.Object
org.bouncycastle.util.BigIntegers
public final class BigIntegers
extends java.lang.Object
BigInteger utilities.
static byte[] | asUnsignedByteArray(BigInteger value) - Return the passed in value as an unsigned byte array.
|
asUnsignedByteArray
public static byte[] asUnsignedByteArray(BigInteger value)
Return the passed in value as an unsigned byte array.
value
- value to be converted.
- a byte array without a leading zero byte if present in the signed encoding.