public class X9IntegerConverter extends Object
| Constructor and Description |
|---|
X9IntegerConverter() |
| Modifier and Type | Method and Description |
|---|---|
int |
getByteLength(ECCurve c)
Return the curve's field size in bytes.
|
int |
getByteLength(ECFieldElement fe)
Return the field element's field size in bytes.
|
byte[] |
integerToBytes(BigInteger s,
int qLength)
Convert an integer to a byte array, ensuring it is exactly qLength long.
|
public int getByteLength(ECCurve c)
c - the curve of interest.public int getByteLength(ECFieldElement fe)
fe - the field element of interest.public byte[] integerToBytes(BigInteger s, int qLength)
s - the integer to be converted.qLength - the lengthCopyright © 2015–2019 The veraPDF Consortium. All rights reserved.