|
Bouncy Castle Cryptography 1.51 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x9.X9FieldID
public class X9FieldID
ASN.1 def for Elliptic-Curve Field ID structure. See X9.62, for further details.
Field Summary |
---|
Constructor Summary | |
---|---|
X9FieldID(java.math.BigInteger primeP)
Constructor for elliptic curves over prime fields F2 . |
|
X9FieldID(int m,
int k1)
Constructor for elliptic curves over binary fields F2m . |
|
X9FieldID(int m,
int k1,
int k2,
int k3)
Constructor for elliptic curves over binary fields F2m . |
Method Summary | |
---|---|
ASN1ObjectIdentifier |
getIdentifier()
|
static X9FieldID |
getInstance(java.lang.Object obj)
|
ASN1Primitive |
getParameters()
|
ASN1Primitive |
toASN1Primitive()
Produce a DER encoding of the following structure. |
Methods inherited from class org.bouncycastle.asn1.ASN1Object |
---|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public X9FieldID(java.math.BigInteger primeP)
F2
.
primeP
- The prime p
defining the prime field.public X9FieldID(int m, int k1)
F2m
.
m
- The exponent m
of
F2m
.k1
- The integer k1
where xm +
xk1 + 1
represents the reduction polynomial f(z)
.public X9FieldID(int m, int k1, int k2, int k3)
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)
..Method Detail |
---|
public static X9FieldID getInstance(java.lang.Object obj)
public ASN1ObjectIdentifier getIdentifier()
public ASN1Primitive getParameters()
public ASN1Primitive toASN1Primitive()
FieldID ::= SEQUENCE { fieldType FIELD-ID.&id({IOSet}), parameters FIELD-ID.&Type({IOSet}{@fieldType}) }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
|
Bouncy Castle Cryptography 1.51 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |