public final class MLDSAKeyPairGeneratorSpi extends KeyPairGeneratorSpi
References:
| Constructor and Description |
|---|
MLDSAKeyPairGeneratorSpi() |
| Modifier and Type | Method and Description |
|---|---|
KeyPair |
generateKeyPair() |
void |
initialize(AlgorithmParameterSpec algorithmParameterSpec,
SecureRandom random)
Initializes the key pair generator using the specified parameters and the specified
SecureRandom instance. |
void |
initialize(int keySize,
SecureRandom random)
Not implemented, returns a PQRuntimeException
|
public void initialize(AlgorithmParameterSpec algorithmParameterSpec, SecureRandom random) throws InvalidAlgorithmParameterException
SecureRandom instance.initialize in class KeyPairGeneratorSpialgorithmParameterSpec - has to be of type MLDSAAlgorithmParameterSpecrandom - the NIST SP800-90 PRNG; if null an appropriate NIST
* SP800-90 PRNG will be selected automaticallyInvalidAlgorithmParameterException - thrown when the AlgorithmParameterSpec is not an instance of MLDSAAlgorithmParameterSpecpublic void initialize(int keySize,
SecureRandom random)
initialize in class KeyPairGeneratorSpipublic KeyPair generateKeyPair()
generateKeyPair in class KeyPairGeneratorSpiCopyright © 2020–2025 Stiftung SIC. All rights reserved.