public class MLDSAAlgorithmParameterSpec extends PQAlgorithmParameterSpec
This class represents the Parameters for the MLDSA algorithm
Modifier and Type | Field and Description |
---|---|
protected iaik.security.pq.mldsa.AbstractMLDSAAlgorithmParameterSpec.PreHashAlgorithm |
hashAlgorithm
The used preHash Algorithm
|
protected iaik.security.pq.mldsa.MLDSAParams |
params |
algorithmID
Constructor and Description |
---|
MLDSAAlgorithmParameterSpec()
Returns a MLDSAAlgorithmParameterSpec with the recommended NIST security Level.
|
MLDSAAlgorithmParameterSpec(iaik.asn1.structures.AlgorithmID algorithmID)
Returns a MLDSAAlgorithmParameterSpec for the specified AlgorithmID
|
MLDSAAlgorithmParameterSpec(SecurityLevel securityLevel)
Returns a MLDSAAlgorithmParameterSpec with the desired NIST security level
|
Modifier and Type | Method and Description |
---|---|
iaik.asn1.structures.AlgorithmID |
getAlgorithmID() |
String |
getPreHashAlgorithm()
Returns the selected pre-hash algorithm.
|
protected iaik.security.pq.mldsa.MLDSAParams params
protected iaik.security.pq.mldsa.AbstractMLDSAAlgorithmParameterSpec.PreHashAlgorithm hashAlgorithm
public MLDSAAlgorithmParameterSpec()
public MLDSAAlgorithmParameterSpec(SecurityLevel securityLevel)
securityLevel
- NIST security level
public MLDSAAlgorithmParameterSpec(iaik.asn1.structures.AlgorithmID algorithmID) throws PQException
algorithmID
- the inputPQException
- when no matching MLDSAAlgorithmParameterSpec could be foundpublic iaik.asn1.structures.AlgorithmID getAlgorithmID()
getAlgorithmID
in class PQAlgorithmParameterSpec
public String getPreHashAlgorithm()
Copyright © 2020–2025 Stiftung SIC. All rights reserved.