public class ECCKeyGenParameterSpec extends Object implements AlgorithmParameterSpec
org.bouncycastle.pqc.ecc.mceliece.McElieceKeyPairGenerator
,
org.bouncycastle.pqc.ecc.mceliece.McElieceCCA2KeyPairGenerator
,
org.bouncycastle.pqc.ecc.niederreiter.NiederreiterKeyPairGenerator
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.
|
public static final int DEFAULT_M
public static final int DEFAULT_T
public ECCKeyGenParameterSpec()
public ECCKeyGenParameterSpec(int keysize) throws InvalidParameterException
keysize
- the length of a Goppa codeInvalidParameterException
- if keysize < 1.public ECCKeyGenParameterSpec(int m, int t) throws InvalidParameterException
m
- degree of the finite field GF(2^m)t
- error correction capability of the codeInvalidParameterException
- if m < 1 or m > 32 or
t < 0 or t > n.public ECCKeyGenParameterSpec(int m, int t, int poly) throws InvalidParameterException
m
- degree of the finite field GF(2^m)t
- error correction capability of the codepoly
- the field polynomialInvalidParameterException
- if m < 1 or m > 32 or
t < 0 or t > n or
poly is not an irreducible field polynomial.Copyright © 2016 BouncyCastle.org. All rights reserved.