| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the field size in bytes (rounded up).the curve of interest. c)Return the curve's field size in bytes. |
| public int | Returns: the field size in bytes (rounded up).the field element of interest. fe)Return the field element's field size in bytes. |
| public byte[] | Returns: the resulting byte array.the integer to be converted. s, int the length qLength)Convert an integer to a byte array, ensuring it is exactly qLength long. |
| X9IntegerConverter | back to summary |
|---|---|
| public X9IntegerConverter() | |
| getByteLength | back to summary |
|---|---|
| public int getByteLength(ECCurve c) Return the curve's field size in bytes.
| |
| getByteLength | back to summary |
|---|---|
| public int getByteLength(ECFieldElement fe) Return the field element's field size in bytes.
| |
| integerToBytes | back to summary |
|---|---|
| public byte[] integerToBytes(BigInteger s, int qLength) Convert an integer to a byte array, ensuring it is exactly qLength long.
| |