| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.bouncycastle.math.ec.ECFieldElementorg.bouncycastle.math.ec.ECFieldElement.Fppublic static class ECFieldElement.Fpextends ECFieldElementNested Class Summary |
Nested classes/interfaces inherited from class org.bouncycastle.math.ec.ECFieldElement | |
ECFieldElement.Fp | |
Fields inherited from interface org.bouncycastle.math.ec.ECConstants | |
ONE, ZERO | |
Constructor Summary | |
| |
Method Summary | |
ECFieldElement | |
ECFieldElement | |
String |
|
ECFieldElement |
|
ECFieldElement | |
ECFieldElement |
|
ECFieldElement |
|
ECFieldElement |
|
ECFieldElement | |
Methods inherited from class org.bouncycastle.math.ec.ECFieldElement | |
add, divide, equals, getFieldName, invert, multiply, negate, sqrt, square, subtract, toBigInteger | |
public String getFieldName()
return the field name for this field.
- Overrides:
- getFieldName in interface ECFieldElement
- Returns:
- the string "Fp".
public ECFieldElement multiply(ECFieldElement b)
- Overrides:
- multiply in interface ECFieldElement
public ECFieldElement sqrt()
return a sqrt root - the routine verifies that the calculation returns the right value - if none exists it returns null.
- Overrides:
- sqrt in interface ECFieldElement
public ECFieldElement subtract(ECFieldElement b)
- Overrides:
- subtract in interface ECFieldElement