AlgorithmParameterSpec
Modifier and Type | Field and Description |
---|---|
private final EllipticCurve | |
private final ECPoint | |
private final int | |
private final BigInteger |
Access | Constructor and Description |
---|---|
public | ECParameterSpec(EllipticCurve
the elliptic curve which this parameter
defines. curve, ECPoint the generator which is also known as the base point. g, BigInteger the order of the generator n, int g .the cofactor. h)Creates elliptic curve domain parameters based on the specified values. |
Modifier and Type | Method and Description |
---|---|
public int | |
public EllipticCurve | Returns: the elliptic curve that this parameter defines.Returns the elliptic curve that this parameter defines. |
public ECPoint | Returns: the generator which is also known as the base point.Returns the generator which is also known as the base point. |
public BigInteger |
curve | back to summary |
---|---|
private final EllipticCurve curve |
g | back to summary |
---|---|
private final ECPoint g |
h | back to summary |
---|---|
private final int h |
n | back to summary |
---|---|
private final BigInteger n |
ECParameterSpec | back to summary |
---|---|
public ECParameterSpec(EllipticCurve curve, ECPoint g, BigInteger n, int h) Creates elliptic curve domain parameters based on the specified values.
|
getCofactor | back to summary |
---|---|
public int getCofactor() Returns the cofactor.
|
getCurve | back to summary |
---|---|
public EllipticCurve getCurve() Returns the elliptic curve that this parameter defines.
|
getGenerator | back to summary |
---|---|
public ECPoint getGenerator() Returns the generator which is also known as the base point.
|
getOrder | back to summary |
---|---|
public BigInteger getOrder() Returns the order of the generator.
|