Class ECParameterSpec

java.lang.Object
java.security.spec.ECParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec
Direct Known Subclasses:
ECNamedCurveSpec

public class ECParameterSpec
extends Object
implements AlgorithmParameterSpec
The parameter specification used with Elliptic Curve Cryptography (ECC).
  • Constructor Details

  • Method Details

    • getCofactor

      public int getCofactor()
      Returns the cofactor.
      Returns:
      the cofactor.
    • getCurve

      public EllipticCurve getCurve()
      Returns the elliptic curve.
      Returns:
      the elliptic curve.
    • getGenerator

      public ECPoint getGenerator()
      Returns the generator (or base point).
      Returns:
      the generator (or base point).
    • getOrder

      public BigInteger getOrder()
      Returns the order of the generator.
      Returns:
      the order of the generator.
    • getCurveName

      public String getCurveName()
      Returns the name of the curve if this is a named curve. Returns null if this is not known to be a named curve.