org.bouncycastle.pqc.crypto.mceliece
Class McElieceCCA2Parameters
java.lang.Object
org.bouncycastle.pqc.crypto.mceliece.McElieceParameters
org.bouncycastle.pqc.crypto.mceliece.McElieceCCA2Parameters
- All Implemented Interfaces:
- CipherParameters
public class McElieceCCA2Parameters
- extends McElieceParameters
This class provides a specification for the parameters of the CCA2-secure
variants of the McEliece PKCS that are used with
McElieceFujisakiCipher
, McElieceKobaraImaiCipher
, and
McEliecePointchevalCipher
.
- See Also:
McElieceFujisakiCipher
,
McElieceKobaraImaiCipher
,
McEliecePointchevalCipher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
digest
public Digest digest
McElieceCCA2Parameters
public McElieceCCA2Parameters()
- Construct the default parameters.
The default message digest is SHA256.
McElieceCCA2Parameters
public McElieceCCA2Parameters(int m,
int t)
McElieceCCA2Parameters
public McElieceCCA2Parameters(Digest digest)
getDigest
public Digest getDigest()