public class X9ECParameters extends ASN1Object implements X9ObjectIdentifiers
Modifier and Type | Field and Description |
---|---|
private org.bouncycastle.math.ec.ECCurve |
curve |
private X9FieldID |
fieldID |
private org.bouncycastle.math.ec.ECPoint |
g |
private java.math.BigInteger |
h |
private java.math.BigInteger |
n |
private static java.math.BigInteger |
ONE |
private byte[] |
seed |
ansi_X9_42, ansi_X9_62, c2onb191v4, c2onb191v5, c2onb239v4, c2onb239v5, c2pnb163v1, c2pnb163v2, c2pnb163v3, c2pnb176w1, c2pnb208w1, c2pnb272w1, c2pnb304w1, c2pnb368w1, c2tnb191v1, c2tnb191v2, c2tnb191v3, c2tnb239v1, c2tnb239v2, c2tnb239v3, c2tnb359v1, c2tnb431r1, characteristic_two_field, cTwoCurve, dhEphem, dhHybrid1, dhHybrid2, dhHybridOneFlow, dhOneFlow, dhpublicnumber, dhSinglePass_cofactorDH_sha1kdf_scheme, dhSinglePass_stdDH_sha1kdf_scheme, dhStatic, ecdsa_with_SHA1, ecdsa_with_SHA2, ecdsa_with_SHA224, ecdsa_with_SHA256, ecdsa_with_SHA384, ecdsa_with_SHA512, ellipticCurve, gnBasis, id_dsa, id_dsa_with_sha1, id_ecPublicKey, id_ecSigType, id_fieldType, id_publicKeyType, mqv1, mqv2, mqvSinglePass_sha1kdf_scheme, ppBasis, prime_field, prime192v1, prime192v2, prime192v3, prime239v1, prime239v2, prime239v3, prime256v1, primeCurve, tpBasis, x9_42_schemes, x9_63_scheme
Modifier | Constructor and Description |
---|---|
private |
X9ECParameters(ASN1Sequence seq) |
|
X9ECParameters(org.bouncycastle.math.ec.ECCurve curve,
org.bouncycastle.math.ec.ECPoint g,
java.math.BigInteger n) |
|
X9ECParameters(org.bouncycastle.math.ec.ECCurve curve,
org.bouncycastle.math.ec.ECPoint g,
java.math.BigInteger n,
java.math.BigInteger h) |
|
X9ECParameters(org.bouncycastle.math.ec.ECCurve curve,
org.bouncycastle.math.ec.ECPoint g,
java.math.BigInteger n,
java.math.BigInteger h,
byte[] seed) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.math.ec.ECCurve |
getCurve() |
org.bouncycastle.math.ec.ECPoint |
getG() |
java.math.BigInteger |
getH() |
static X9ECParameters |
getInstance(java.lang.Object obj) |
java.math.BigInteger |
getN() |
byte[] |
getSeed() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
private static final java.math.BigInteger ONE
private org.bouncycastle.math.ec.ECCurve curve
private org.bouncycastle.math.ec.ECPoint g
private java.math.BigInteger n
private java.math.BigInteger h
private byte[] seed
private X9ECParameters(ASN1Sequence seq)
public X9ECParameters(org.bouncycastle.math.ec.ECCurve curve, org.bouncycastle.math.ec.ECPoint g, java.math.BigInteger n)
public X9ECParameters(org.bouncycastle.math.ec.ECCurve curve, org.bouncycastle.math.ec.ECPoint g, java.math.BigInteger n, java.math.BigInteger h)
public X9ECParameters(org.bouncycastle.math.ec.ECCurve curve, org.bouncycastle.math.ec.ECPoint g, java.math.BigInteger n, java.math.BigInteger h, byte[] seed)
public static X9ECParameters getInstance(java.lang.Object obj)
public org.bouncycastle.math.ec.ECCurve getCurve()
public org.bouncycastle.math.ec.ECPoint getG()
public java.math.BigInteger getN()
public java.math.BigInteger getH()
public byte[] getSeed()
public ASN1Primitive toASN1Primitive()
ECParameters ::= SEQUENCE { version INTEGER { ecpVer1(1) } (ecpVer1), fieldID FieldID {{FieldTypes}}, curve X9Curve, base X9ECPoint, order INTEGER, cofactor INTEGER OPTIONAL }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object