Class DilithiumKeyPairGeneratorSpi
- java.lang.Object
-
- java.security.KeyPairGeneratorSpi
-
- java.security.KeyPairGenerator
-
- org.bouncycastle.pqc.jcajce.provider.dilithium.DilithiumKeyPairGeneratorSpi
-
- Direct Known Subclasses:
DilithiumKeyPairGeneratorSpi.Base2
,DilithiumKeyPairGeneratorSpi.Base3
,DilithiumKeyPairGeneratorSpi.Base5
public class DilithiumKeyPairGeneratorSpi extends java.security.KeyPairGenerator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DilithiumKeyPairGeneratorSpi.Base2
static class
DilithiumKeyPairGeneratorSpi.Base3
static class
DilithiumKeyPairGeneratorSpi.Base5
-
Constructor Summary
Constructors Modifier Constructor Description DilithiumKeyPairGeneratorSpi()
protected
DilithiumKeyPairGeneratorSpi(DilithiumParameters dilithiumParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.KeyPair
generateKeyPair()
void
initialize(int strength, java.security.SecureRandom random)
void
initialize(java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random)
-
-
-
Constructor Detail
-
DilithiumKeyPairGeneratorSpi
public DilithiumKeyPairGeneratorSpi()
-
DilithiumKeyPairGeneratorSpi
protected DilithiumKeyPairGeneratorSpi(DilithiumParameters dilithiumParameters)
-
-
Method Detail
-
initialize
public void initialize(int strength, java.security.SecureRandom random)
- Overrides:
initialize
in classjava.security.KeyPairGenerator
-
initialize
public void initialize(java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random) throws java.security.InvalidAlgorithmParameterException
- Overrides:
initialize
in classjava.security.KeyPairGenerator
- Throws:
java.security.InvalidAlgorithmParameterException
-
generateKeyPair
public java.security.KeyPair generateKeyPair()
- Overrides:
generateKeyPair
in classjava.security.KeyPairGenerator
-
-