|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gudy.bouncycastle.asn1.x9.X9Curve
public class X9Curve
ASN.1 def for Elliptic-Curve Curve structure. See X9.62, for further details.
Field Summary |
---|
Fields inherited from interface org.gudy.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 | |
---|---|
X9Curve(ECCurve curve)
|
|
X9Curve(ECCurve curve,
byte[] seed)
|
|
X9Curve(X9FieldID fieldID,
ASN1Sequence seq)
|
Method Summary | |
---|---|
ECCurve |
getCurve()
|
DERObject |
getDERObject()
Produce an object suitable for an ASN1OutputStream. |
byte[] |
getSeed()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public X9Curve(ECCurve curve)
public X9Curve(ECCurve curve, byte[] seed)
public X9Curve(X9FieldID fieldID, ASN1Sequence seq)
Method Detail |
---|
public ECCurve getCurve()
public byte[] getSeed()
public DERObject getDERObject()
Curve ::= SEQUENCE { a FieldElement, b FieldElement, seed BIT STRING OPTIONAL }
getDERObject
in interface DEREncodable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |