|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.pqc.legacy.crypto.mceliece.McElieceParameters
org.bouncycastle.pqc.legacy.crypto.mceliece.McElieceCCA2Parameters
Field Summary |
Fields inherited from class org.bouncycastle.pqc.legacy.crypto.mceliece.McElieceParameters |
DEFAULT_M, DEFAULT_T |
Constructor Summary | |
McElieceCCA2Parameters()
Constructor. |
|
McElieceCCA2Parameters(int keysize)
Constructor. |
|
McElieceCCA2Parameters(int m,
int t)
Constructor. |
|
McElieceCCA2Parameters(int m,
int t,
int poly)
Constructor. |
|
McElieceCCA2Parameters(int m,
int t,
int poly,
java.lang.String digest)
Constructor. |
|
McElieceCCA2Parameters(int m,
int t,
java.lang.String digest)
Constructor. |
|
McElieceCCA2Parameters(int keysize,
java.lang.String digest)
Constructor. |
|
McElieceCCA2Parameters(java.lang.String digest)
|
Method Summary | |
java.lang.String |
getDigest()
Return the CCA2 mode digest if set. |
Methods inherited from class org.bouncycastle.pqc.legacy.crypto.mceliece.McElieceParameters |
getFieldPoly, getM, getN, getT |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public McElieceCCA2Parameters()
public McElieceCCA2Parameters(java.lang.String digest)
public McElieceCCA2Parameters(int keysize)
keysize
- the length of a Goppa code
java.lang.IllegalArgumentException
- if keysize < 1.public McElieceCCA2Parameters(int keysize, java.lang.String digest)
keysize
- the length of a Goppa codedigest
- CCA2 mode digest
java.lang.IllegalArgumentException
- if keysize < 1.public McElieceCCA2Parameters(int m, int t)
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 McElieceCCA2Parameters(int m, int t, java.lang.String digest)
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 McElieceCCA2Parameters(int m, int t, int poly)
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.public McElieceCCA2Parameters(int m, int t, int poly, java.lang.String digest)
m
- degree of the finite field GF(2^m)t
- error correction capability of the codepoly
- the field polynomialdigest
- CCA2 mode digest
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 java.lang.String getDigest()
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |