de.flexiprovider.pqc.ecc.mceliece
Class McElieceCCA2ParameterSpec
java.lang.Object
|
+--de.flexiprovider.pqc.ecc.mceliece.McElieceCCA2ParameterSpec
- All Implemented Interfaces:
- AlgorithmParameterSpec, java.security.spec.AlgorithmParameterSpec
- public class McElieceCCA2ParameterSpec
- extends java.lang.Object
- implements 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.
- Author:
- Elena Klintsevich, Martin Döring
- 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").
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