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").
 
Constructor Summary
McElieceCCA2ParameterSpec()
          Construct the default parameters.
McElieceCCA2ParameterSpec(java.lang.String mdName)
          Constructor.
 
Method Summary
 java.lang.String getMDName()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MD

public static final java.lang.String DEFAULT_MD
The default message digest ("SHA256").
Constructor Detail

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
Method Detail

getMDName

public java.lang.String getMDName()
Returns:
the name of the hash function