public class DilithiumAlgorithmParameterSpec extends PQAlgorithmParameterSpec
This class returns an AlgorithmParameterSpec containing Parameters to use with Dilithium
algorithmID
Constructor and Description |
---|
DilithiumAlgorithmParameterSpec()
Returns a DilithiumAlgorithmParameterSpec with the recommended NIST security Level.
|
DilithiumAlgorithmParameterSpec(SecurityLevel securityLevel)
Returns a DilithiumAlgorithmParameterSpec with the desired NIST security Level.
|
DilithiumAlgorithmParameterSpec(SecurityLevel securityLevel,
boolean randomizedSigning)
Returns a DilithiumAlgorithmParameterSpec with the desired NIST security Level,
and with randomized or deterministic signing.
|
Modifier and Type | Method and Description |
---|---|
void |
useRandomizedSigning(boolean randomizedSigning)
Changes if the Signature should be deterministic or randomized
|
getAlgorithmID
public DilithiumAlgorithmParameterSpec()
public DilithiumAlgorithmParameterSpec(SecurityLevel securityLevel)
securityLevel
- public DilithiumAlgorithmParameterSpec(SecurityLevel securityLevel, boolean randomizedSigning)
securityLevel
- the Nist security LevelrandomizedSigning
- if true, randomized signing is used
if false, deterministic signing is usedCopyright © 2020–2023 Stiftung SIC. All rights reserved.