Bouncy Castle Cryptography 1.51

org.bouncycastle.math.ec.custom.sec
Class SecP521R1Point

java.lang.Object
  extended by org.bouncycastle.math.ec.ECPoint
      extended by org.bouncycastle.math.ec.ECPoint.AbstractFp
          extended by org.bouncycastle.math.ec.custom.sec.SecP521R1Point

public class SecP521R1Point
extends ECPoint.AbstractFp


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bouncycastle.math.ec.ECPoint
ECPoint.AbstractF2m, ECPoint.AbstractFp, ECPoint.F2m, ECPoint.Fp
 
Field Summary
 
Fields inherited from class org.bouncycastle.math.ec.ECPoint
curve, EMPTY_ZS, preCompTable, withCompression, x, y, zs
 
Constructor Summary
SecP521R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y)
          Deprecated. Use ECCurve.createPoint to construct points
SecP521R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression)
          Deprecated. per-point compression property will be removed, refer ECPoint.getEncoded(boolean)
 
Method Summary
 ECPoint add(ECPoint b)
           
protected  ECPoint detach()
           
protected  ECFieldElement doubleProductFromSquares(ECFieldElement a, ECFieldElement b, ECFieldElement aSquared, ECFieldElement bSquared)
           
protected  ECFieldElement eight(ECFieldElement x)
           
protected  ECFieldElement four(ECFieldElement x)
           
 ECPoint negate()
           
protected  ECFieldElement three(ECFieldElement x)
           
 ECPoint threeTimes()
           
 ECPoint twice()
           
 ECPoint twicePlus(ECPoint b)
           
protected  ECFieldElement two(ECFieldElement x)
           
 
Methods inherited from class org.bouncycastle.math.ec.ECPoint.AbstractFp
getCompressionYTilde, satisfiesCurveEquation, subtract
 
Methods inherited from class org.bouncycastle.math.ec.ECPoint
checkNormalized, createScaledPoint, equals, equals, getAffineXCoord, getAffineYCoord, getCurve, getCurveCoordinateSystem, getDetachedPoint, getEncoded, getEncoded, getInitialZCoords, getRawXCoord, getRawYCoord, getRawZCoords, getX, getXCoord, getY, getYCoord, getZCoord, getZCoords, hashCode, isCompressed, isInfinity, isNormalized, isValid, multiply, normalize, satisfiesCofactor, scaleX, scaleY, timesPow2, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecP521R1Point

public SecP521R1Point(ECCurve curve,
                      ECFieldElement x,
                      ECFieldElement y)
Deprecated. Use ECCurve.createPoint to construct points

Create a point which encodes with point compression.

Parameters:
curve - the curve to use
x - affine x co-ordinate
y - affine y co-ordinate

SecP521R1Point

public SecP521R1Point(ECCurve curve,
                      ECFieldElement x,
                      ECFieldElement y,
                      boolean withCompression)
Deprecated. per-point compression property will be removed, refer ECPoint.getEncoded(boolean)

Create a point that encodes with or without point compresion.

Parameters:
curve - the curve to use
x - affine x co-ordinate
y - affine y co-ordinate
withCompression - if true encode with point compression
Method Detail

detach

protected ECPoint detach()
Specified by:
detach in class ECPoint

add

public ECPoint add(ECPoint b)
Specified by:
add in class ECPoint

twice

public ECPoint twice()
Specified by:
twice in class ECPoint

twicePlus

public ECPoint twicePlus(ECPoint b)
Overrides:
twicePlus in class ECPoint

threeTimes

public ECPoint threeTimes()
Overrides:
threeTimes in class ECPoint

two

protected ECFieldElement two(ECFieldElement x)

three

protected ECFieldElement three(ECFieldElement x)

four

protected ECFieldElement four(ECFieldElement x)

eight

protected ECFieldElement eight(ECFieldElement x)

doubleProductFromSquares

protected ECFieldElement doubleProductFromSquares(ECFieldElement a,
                                                  ECFieldElement b,
                                                  ECFieldElement aSquared,
                                                  ECFieldElement bSquared)

negate

public ECPoint negate()
Specified by:
negate in class ECPoint

Bouncy Castle Cryptography 1.51