org.bouncycastle.math.ec
Class IntArray
java.lang.Object
org.bouncycastle.math.ec.IntArray
class IntArray
- extends java.lang.Object
Field Summary |
private int[] |
m_ints
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
m_ints
private int[] m_ints
IntArray
public IntArray(int intLen)
IntArray
public IntArray(int[] ints)
IntArray
public IntArray(java.math.BigInteger bigInt)
IntArray
public IntArray(java.math.BigInteger bigInt,
int minIntLen)
getUsedLength
public int getUsedLength()
bitLength
public int bitLength()
resizedInts
private int[] resizedInts(int newLen)
toBigInteger
public java.math.BigInteger toBigInteger()
shiftLeft
public void shiftLeft()
shiftLeft
public IntArray shiftLeft(int n)
addShifted
public void addShifted(IntArray other,
int shift)
getLength
public int getLength()
testBit
public boolean testBit(int n)
flipBit
public void flipBit(int n)
setBit
public void setBit(int n)
multiply
public IntArray multiply(IntArray other,
int m)
reduce
public void reduce(int m,
int[] redPol)
square
public IntArray square(int m)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object