org.bouncycastle.pqc.jcajce.spec
Class McElieceCCA2ParameterSpec
java.lang.Object
org.bouncycastle.pqc.jcajce.spec.McElieceCCA2ParameterSpec
- All Implemented Interfaces:
- java.security.spec.AlgorithmParameterSpec
public class McElieceCCA2ParameterSpec
- extends java.lang.Object
- implements java.security.spec.AlgorithmParameterSpec
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
Field Summary |
static java.lang.String |
DEFAULT_MD
The default message digest ("SHA256"). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_MD
public static final java.lang.String DEFAULT_MD
- The default message digest ("SHA256").
- See Also:
- Constant Field Values
McElieceCCA2ParameterSpec
public McElieceCCA2ParameterSpec()
- Construct the default parameters. Choose the
McElieceCCA2ParameterSpec
public McElieceCCA2ParameterSpec(java.lang.String mdName)
- Constructor.
- Parameters:
mdName
- the name of the hash function
getMDName
public java.lang.String getMDName()
- Returns:
- the name of the hash function