org.bouncycastle.asn1.x9
Class X9FieldID
- DEREncodable, X9ObjectIdentifiers
ASN.1 def for Elliptic-Curve Field ID structure. See
X9.62, for further details.
ansi_X9_62 , c2onb191v4 , c2onb191v5 , c2onb239v4 , c2onb239v5 , c2pnb163v1 , c2pnb163v2 , c2pnb163v3 , c2pnb176w1 , c2pnb208w1 , c2pnb272w1 , c2pnb368w1 , c2png304v1 , c2tnb191v1 , c2tnb191v2 , c2tnb191v3 , c2tnb239v1 , c2tnb239v2 , c2tnb239v3 , c2tnb359v1 , c2tnb431r1 , cTwoCurve , characteristic_two_field , dhpublicnumber , ecdsa_with_SHA1 , ellipticCurve , gnBasis , id_dsa , id_dsa_with_sha1 , id_ecPublicKey , id_ecSigType , id_fieldType , id_publicKeyType , ppBasis , prime192v1 , prime192v2 , prime192v3 , prime239v1 , prime239v2 , prime239v3 , prime256v1 , primeCurve , prime_field , tpBasis |
X9FieldID(BigInteger primeP) - Constructor for elliptic curves over prime fields
F2 .
|
X9FieldID(int m, int k1, int k2, int k3) - Constructor for elliptic curves over binary fields
F2m .
|
X9FieldID(ASN1Sequence seq)
|
X9FieldID
public X9FieldID(BigInteger primeP)
Constructor for elliptic curves over prime fields
F2
.
primeP
- The prime p
defining the prime field.
X9FieldID
public X9FieldID(int m,
int k1,
int k2,
int k3)
Constructor for elliptic curves over binary fields
F2m
.
m
- The exponent m
of
F2m
.k1
- The integer k1
where xm +
xk3 + xk2 + xk1 + 1
represents the reduction polynomial f(z)
.k2
- The integer k2
where xm +
xk3 + xk2 + xk1 + 1
represents the reduction polynomial f(z)
.k3
- The integer k3
where xm +
xk3 + xk2 + xk1 + 1
represents the reduction polynomial f(z)
..
getParameters
public DERObject getParameters()
toASN1Object
public DERObject toASN1Object()
Produce a DER encoding of the following structure.
FieldID ::= SEQUENCE {
fieldType FIELD-ID.&id({IOSet}),
parameters FIELD-ID.&Type({IOSet}{@fieldType})
}
- toASN1Object in interface ASN1Encodable