|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.pqc.crypto.mceliece.McElieceParameters
public class McElieceParameters
| Field Summary | |
|---|---|
static int |
DEFAULT_M
The default extension degree |
static int |
DEFAULT_T
The default error correcting capability. |
| Constructor Summary | |
|---|---|
McElieceParameters()
Constructor. |
|
McElieceParameters(int keysize)
Constructor. |
|
McElieceParameters(int m,
int t)
Constructor. |
|
McElieceParameters(int m,
int t,
int poly)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getFieldPoly()
|
int |
getM()
|
int |
getN()
|
int |
getT()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_M
public static final int DEFAULT_T
| Constructor Detail |
|---|
public McElieceParameters()
public McElieceParameters(int keysize)
throws java.lang.IllegalArgumentException
keysize - the length of a Goppa code
java.lang.IllegalArgumentException - if keysize < 1.
public McElieceParameters(int m,
int t)
throws java.lang.IllegalArgumentException
m - degree of the finite field GF(2^m)t - error correction capability of the code
java.lang.IllegalArgumentException - if m < 1 or m > 32 or
t < 0 or t > n.
public McElieceParameters(int m,
int t,
int poly)
throws java.lang.IllegalArgumentException
m - degree of the finite field GF(2^m)t - error correction capability of the codepoly - the field polynomial
java.lang.IllegalArgumentException - if m < 1 or m > 32 or
t < 0 or t > n or
poly is not an irreducible field polynomial.| Method Detail |
|---|
public int getM()
public int getN()
public int getT()
public int getFieldPoly()
|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||