public class ECCKeyGenParameterSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_M
The default extension degree
|
static int |
DEFAULT_T
The default error correcting capability.
|
Constructor and Description |
---|
ECCKeyGenParameterSpec()
Constructor.
|
ECCKeyGenParameterSpec(int keysize)
Constructor.
|
ECCKeyGenParameterSpec(int m,
int t)
Constructor.
|
ECCKeyGenParameterSpec(int m,
int t,
int poly)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getFieldPoly() |
int |
getM() |
int |
getN() |
int |
getT() |
public static final int DEFAULT_M
public static final int DEFAULT_T
public ECCKeyGenParameterSpec()
public ECCKeyGenParameterSpec(int keysize) throws java.security.InvalidParameterException
keysize
- the length of a Goppa codejava.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 codejava.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 polynomialjava.security.InvalidParameterException
- if m < 1 or m > 32 or
t < 0 or t > n or
poly is not an irreducible field polynomial.