@Deprecated
public class ECOperator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.security.spec.ECPoint |
INFINITY
Deprecated.
|
static ECOperator |
SECP256K1
Deprecated.
|
static ECOperator |
SECP256R1
Deprecated.
|
static ECOperator |
SM2
Deprecated.
|
| Constructor and Description |
|---|
ECOperator(java.math.BigInteger a,
java.math.BigInteger b,
java.math.BigInteger prime,
java.security.spec.ECPoint generator,
java.math.BigInteger order,
int cofactor)
Deprecated.
|
ECOperator(java.security.spec.ECParameterSpec paramSpec)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.security.spec.ECPoint |
add(java.security.spec.ECPoint p1,
java.security.spec.ECPoint p2)
Deprecated.
|
boolean |
checkOrder(java.security.spec.ECPoint p)
Deprecated.
|
java.security.spec.ECPoint |
doubling(java.security.spec.ECPoint p)
Deprecated.
|
java.math.BigInteger |
getA()
Deprecated.
|
java.math.BigInteger |
getB()
Deprecated.
|
int |
getCofactor()
Deprecated.
|
java.security.spec.EllipticCurve |
getCurve()
Deprecated.
|
java.security.spec.ECPoint |
getGenerator()
Deprecated.
|
java.math.BigInteger |
getOrder()
Deprecated.
|
java.math.BigInteger |
getPrime()
Deprecated.
|
boolean |
isOnCurve(java.security.spec.ECPoint p)
Deprecated.
|
java.security.spec.ECPoint |
multiply(java.math.BigInteger k)
Deprecated.
|
java.security.spec.ECPoint |
multiply(java.security.spec.ECPoint p,
java.math.BigInteger k)
Deprecated.
|
java.security.spec.ECPoint |
multiply(java.security.spec.ECPoint p,
long k)
Deprecated.
|
java.security.spec.ECPoint |
multiply(long k)
Deprecated.
|
java.security.spec.ECPoint |
subtract(java.security.spec.ECPoint p1,
java.security.spec.ECPoint p2)
Deprecated.
|
public static final ECOperator SM2
public static final ECOperator SECP256R1
public static final ECOperator SECP256K1
public static final java.security.spec.ECPoint INFINITY
public ECOperator(java.security.spec.ECParameterSpec paramSpec)
public ECOperator(java.math.BigInteger a,
java.math.BigInteger b,
java.math.BigInteger prime,
java.security.spec.ECPoint generator,
java.math.BigInteger order,
int cofactor)
public java.math.BigInteger getA()
public java.math.BigInteger getB()
public java.math.BigInteger getPrime()
public java.security.spec.ECPoint getGenerator()
public java.math.BigInteger getOrder()
public int getCofactor()
public java.security.spec.EllipticCurve getCurve()
public boolean isOnCurve(java.security.spec.ECPoint p)
public boolean checkOrder(java.security.spec.ECPoint p)
public java.security.spec.ECPoint add(java.security.spec.ECPoint p1,
java.security.spec.ECPoint p2)
public java.security.spec.ECPoint doubling(java.security.spec.ECPoint p)
public java.security.spec.ECPoint subtract(java.security.spec.ECPoint p1,
java.security.spec.ECPoint p2)
public java.security.spec.ECPoint multiply(java.security.spec.ECPoint p,
java.math.BigInteger k)
public java.security.spec.ECPoint multiply(java.security.spec.ECPoint p,
long k)
public java.security.spec.ECPoint multiply(java.math.BigInteger k)
public java.security.spec.ECPoint multiply(long k)