Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.21
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.asn1.x9
Class X9ECParameters

    java.lang.Object
      |
      +--org.bouncycastle.asn1.x9.X9ECParameters

All Implemented Interfaces:
  DEREncodable, X9ObjectIdentifiers

public class X9ECParameters
extends java.lang.Object
implements DEREncodable, X9ObjectIdentifiers

ASN.1 def for Elliptic-Curve ECParameters structure. See X9.62, for further details.

Fields inherited from interface org.bouncycastle.asn1.x9.X9ObjectIdentifiers
`ansi_X9_62, characteristic_two_field, dhpublicnumber, ecdsa_with_SHA1, ellipticCurve, gnBasis, id_dsa, id_dsa_with_sha1, id_ecPublicKey, id_ecSigType, id_fieldType, id_publicKeyType, ppBasis, prime_field, prime192v1, prime192v2, prime192v3, prime239v1, prime239v2, prime239v3, prime256v1, primeCurve, tpBasis`

Constructor Summary
`X9ECParameters(ASN1Sequence seq)`
`X9ECParameters(ECCurve curve, ECPoint g, java.math.BigInteger n)`
`X9ECParameters(ECCurve curve, ECPoint g, java.math.BigInteger n, java.math.BigInteger h)`
`X9ECParameters(ECCurve curve, ECPoint g, java.math.BigInteger n, java.math.BigInteger h, byte[] seed)`

Method Summary
`ECCurve` | `getCurve()`
`DERObject` | `getDERObject()` ECParameters ::= SEQUENCE { version INTEGER { ecpVer1(1) } (ecpVer1), fieldID FieldID {{FieldTypes}}, curve X9Curve, base X9ECPoint, order INTEGER, cofactor INTEGER OPTIONAL }
`ECPoint` | `getG()`
`java.math.BigInteger` | `getH()`
`java.math.BigInteger` | `getN()`
`byte[]` | `getSeed()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### X9ECParameters

    public X9ECParameters(ASN1Sequence seq)

### X9ECParameters

    public X9ECParameters(ECCurve curve,
                          ECPoint g,
                          java.math.BigInteger n)

### X9ECParameters

    public X9ECParameters(ECCurve curve,
                          ECPoint g,
                          java.math.BigInteger n,
                          java.math.BigInteger h)

### X9ECParameters

    public X9ECParameters(ECCurve curve,
                          ECPoint g,
                          java.math.BigInteger n,
                          java.math.BigInteger h,
                          byte[] seed)

Method Detail

### getCurve

    public ECCurve getCurve()

### getG

    public ECPoint getG()

### getN

    public java.math.BigInteger getN()

### getH

    public java.math.BigInteger getH()

### getSeed

    public byte[] getSeed()

### getDERObject

    public DERObject getDERObject()

        ECParameters ::= SEQUENCE {
            version         INTEGER { ecpVer1(1) } (ecpVer1),
            fieldID         FieldID {{FieldTypes}},
            curve           X9Curve,
            base            X9ECPoint,
            order           INTEGER,
            cofactor        INTEGER OPTIONAL
        }

  Specified by:
    `getDERObject` in interface `DEREncodable`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.21
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD