| |
|
| java.lang.Object java.security.spec.ECParameterSpec
ECParameterSpec | public class ECParameterSpec implements AlgorithmParameterSpec(Code) | | This immutable class specifies the set of domain parameters
used with elliptic curve cryptography (ECC).
See Also: AlgorithmParameterSpec author: Valerie Peng version: 1.10, 05/05/07 since: 1.5 |
ECParameterSpec | public ECParameterSpec(EllipticCurve curve, ECPoint g, BigInteger n, int h)(Code) | | Creates elliptic curve domain parameters based on the
specified values.
Parameters: curve - the elliptic curve which this parameter defines. Parameters: g - the generator which is also known as the base point. Parameters: n - the order of the generator g . Parameters: h - the cofactor. exception: NullPointerException - if curve ,g , or n is null. exception: IllegalArgumentException - if n or h is not positive. |
getCofactor | public int getCofactor()(Code) | | Returns the cofactor.
the cofactor. |
getCurve | public EllipticCurve getCurve()(Code) | | Returns the elliptic curve that this parameter defines.
the elliptic curve that this parameter defines. |
getGenerator | public ECPoint getGenerator()(Code) | | Returns the generator which is also known as the base point.
the generator which is also known as the base point. |
getOrder | public BigInteger getOrder()(Code) | | Returns the order of the generator.
the order of the generator. |
|
|
|