Class SecpFieldElementImpl
java.lang.Object
org.bitcoinj.secp.internal.SecpFieldElementImpl
- All Implemented Interfaces:
Comparable<ByteArray>, ByteArray, SecpFieldElement
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SecpFieldElementImpl
-
SecpFieldElementImpl
public SecpFieldElementImpl(byte[] bytes)
-
-
Method Details
-
toBigInteger
Description copied from interface:SecpFieldElementGet the field element as aBigInteger- Specified by:
toBigIntegerin interfaceSecpFieldElement- Returns:
- field element value
-
serialize
public byte[] serialize()Description copied from interface:SecpFieldElementGet serialized field element (32 bytes unsigned)- Specified by:
serializein interfaceSecpFieldElement- Returns:
- serialized field element
-
isOdd
public boolean isOdd()Description copied from interface:SecpFieldElementGet the parity of the field value- Specified by:
isOddin interfaceSecpFieldElement- Returns:
trueif odd,falseif even
-
equals
-
hashCode
-
bytes
-
toString
-