|
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.jcajce.spec.ECCKeyGenParameterSpec
public class ECCKeyGenParameterSpec
This class provides a specification for the parameters that are used by the McEliece, McElieceCCA2, and Niederreiter key pair generators.
org.bouncycastle.pqc.ecc.mceliece.McElieceKeyPairGenerator,
org.bouncycastle.pqc.ecc.mceliece.McElieceCCA2KeyPairGenerator,
org.bouncycastle.pqc.ecc.niederreiter.NiederreiterKeyPairGenerator| Field Summary | |
|---|---|
static int |
DEFAULT_M
The default extension degree |
static int |
DEFAULT_T
The default error correcting capability. |
| Constructor Summary | |
|---|---|
ECCKeyGenParameterSpec()
Constructor. |
|
ECCKeyGenParameterSpec(int keysize)
Constructor. |
|
ECCKeyGenParameterSpec(int m,
int t)
Constructor. |
|
ECCKeyGenParameterSpec(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 ECCKeyGenParameterSpec()
public ECCKeyGenParameterSpec(int keysize)
throws java.security.InvalidParameterException
keysize - the length of a Goppa code
java.security.InvalidParameterException - if keysize < 1.
public ECCKeyGenParameterSpec(int m,
int t)
throws java.security.InvalidParameterException
m - degree of the finite field GF(2^m)t - error correction capability of the code
java.security.InvalidParameterException - if m < 1 or m > 32 or
t < 0 or t > n.
public ECCKeyGenParameterSpec(int m,
int t,
int poly)
throws java.security.InvalidParameterException
m - degree of the finite field GF(2^m)t - error correction capability of the codepoly - the field polynomial
java.security.InvalidParameterException - 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 | ||||||||