public class KyberAlgorithmParametersSpi extends PQAlgorithmParameterSpi<KyberParameterSpec>
This class represents the opaque definition of parameters used by Classic Kyber. 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 "Kyber".
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 |
---|
KyberAlgorithmParametersSpi()
An empty constructor is needed for calling the superclass constructor.
|
Modifier and Type | Method and Description |
---|---|
protected KyberParameterSpec |
createNewInstance(iaik.asn1.structures.AlgorithmID algorithmID) |
engineGetEncoded, engineGetEncoded, engineGetParameterSpec, engineInit, engineInit, engineInit, engineToString, getParams
public KyberAlgorithmParametersSpi()
protected KyberParameterSpec createNewInstance(iaik.asn1.structures.AlgorithmID algorithmID) throws PQException
createNewInstance
in class PQAlgorithmParameterSpi<KyberParameterSpec>
PQException
Copyright © 2020–2023 Stiftung SIC. All rights reserved.