public class Fp
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Modifier | Constructor and Description |
|---|---|
|
Fp() |
|
Fp(Fp rhs) |
|
Fp(int x) |
protected |
Fp(long cPtr,
boolean cMemoryOwn) |
|
Fp(java.lang.String str) |
|
Fp(java.lang.String str,
int base) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
delete() |
void |
deserialize(byte[] cbuf) |
boolean |
equals(Fp rhs) |
protected void |
finalize() |
protected static long |
getCPtr(Fp obj) |
boolean |
isOne() |
boolean |
isZero() |
byte[] |
serialize() |
void |
setByCSPRNG() |
void |
setInt(int x) |
void |
setStr(java.lang.String str) |
void |
setStr(java.lang.String str,
int base) |
java.lang.String |
toString() |
java.lang.String |
toString(int base) |
protected Fp(long cPtr,
boolean cMemoryOwn)
public Fp()
public Fp(Fp rhs)
public Fp(int x)
public Fp(java.lang.String str,
int base)
public Fp(java.lang.String str)
protected static long getCPtr(Fp obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public boolean equals(Fp rhs)
public boolean isZero()
public boolean isOne()
public void setStr(java.lang.String str,
int base)
public void setStr(java.lang.String str)
public void setInt(int x)
public void clear()
public void setByCSPRNG()
public java.lang.String toString(int base)
public java.lang.String toString()
toString in class java.lang.Objectpublic void deserialize(byte[] cbuf)
public byte[] serialize()