com.sun.squawk.security.ecc
Class ECCurveFp
java.lang.Object
com.sun.squawk.security.ecc.ECCurveFp
public final class ECCurveFp
- extends Object
Method Summary |
void |
add(ECPoint a,
ECPoint b)
|
void |
copy(ECPoint dst,
ECPoint src)
|
boolean |
decodePoint(ECPoint point,
byte[] data,
int offset,
int length)
|
int |
encodePoint(ECPoint point,
byte[] data,
int offset)
|
int[] |
getA()
|
int[] |
getB()
|
PrimeField |
getField()
|
ECPoint |
getGenerator()
|
int |
getH()
|
static ECCurveFp |
getInstance()
|
int[] |
getN()
|
PrimeField |
getOrder()
|
boolean |
isOnCurve(ECPoint o1)
|
void |
makeAffine(ECPoint a)
|
void |
multiply(ECPoint R,
int[] k)
|
void |
multiplySum(ECPoint R1,
int[] k1,
ECPoint R2,
int[] k2)
|
void |
negate(ECPoint a)
|
void |
twice(ECPoint a)
|
aIsMinus3
protected final boolean aIsMinus3
- See Also:
- Constant Field Values
a
protected final int[] a
b
protected final int[] b
ffa
protected final FFA ffa
field
protected final PrimeField field
generator
protected final ECPoint generator
h
protected final int h
- See Also:
- Constant Field Values
order
protected final PrimeField order
t1
protected final int[] t1
t2
protected final int[] t2
t3
protected final int[] t3
t4
protected final int[] t4
add
public void add(ECPoint a,
ECPoint b)
copy
public void copy(ECPoint dst,
ECPoint src)
decodePoint
public boolean decodePoint(ECPoint point,
byte[] data,
int offset,
int length)
encodePoint
public int encodePoint(ECPoint point,
byte[] data,
int offset)
getA
public int[] getA()
getB
public int[] getB()
getField
public PrimeField getField()
getGenerator
public ECPoint getGenerator()
getH
public int getH()
getInstance
public static ECCurveFp getInstance()
getN
public int[] getN()
getOrder
public PrimeField getOrder()
isOnCurve
public boolean isOnCurve(ECPoint o1)
makeAffine
public void makeAffine(ECPoint a)
multiply
public void multiply(ECPoint R,
int[] k)
multiplySum
public void multiplySum(ECPoint R1,
int[] k1,
ECPoint R2,
int[] k2)
negate
public void negate(ECPoint a)
twice
public void twice(ECPoint a)
Copyright © 2006-2009 Sun Microsystems, Inc. All Rights Reserved.