public class McElieceAlgorithmParametersSpi extends PQAlgorithmParameterSpi<McElieceParameterSpec>
This class represents the opaque definition of parameters used by Classic McEliece. The class extends AlgorithmParametersSpi as intended by the JCA.
A caller might request an instance of this class by calling the method AlgorithmParameters.getInstance(String), with the parameter "McEliece".
At the time of writing, the encoding of the parameter sets, including the respective ObjectID are subjects to change, as the standardization process is still ongoing.
Until standardization, we use implicit parameter sets. Instead of serializing the concrete values, we serialize the ObjectID and let the implementation deduce the parameter's values.
AlgorithmParameters
Constructor and Description |
---|
McElieceAlgorithmParametersSpi() |
Modifier and Type | Method and Description |
---|---|
protected McElieceParameterSpec |
createNewInstance(iaik.asn1.structures.AlgorithmID algorithmID) |
engineGetEncoded, engineGetEncoded, engineGetParameterSpec, engineInit, engineInit, engineInit, engineToString, getParams
protected McElieceParameterSpec createNewInstance(iaik.asn1.structures.AlgorithmID algorithmID) throws PQException
createNewInstance
in class PQAlgorithmParameterSpi<McElieceParameterSpec>
PQException
Copyright © 2020–2023 Stiftung SIC. All rights reserved.