Class KyberKeyPairGeneratorSpi
java.lang.Object
java.security.KeyPairGeneratorSpi
java.security.KeyPairGenerator
org.bouncycastle.pqc.jcajce.provider.kyber.KyberKeyPairGeneratorSpi
- Direct Known Subclasses:
KyberKeyPairGeneratorSpi.Kyber1024
,KyberKeyPairGeneratorSpi.Kyber512
,KyberKeyPairGeneratorSpi.Kyber768
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Constructor Summary
ModifierConstructorDescriptionprotected
KyberKeyPairGeneratorSpi
(MLKEMParameters kyberParameters) -
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(int strength, SecureRandom random) void
initialize
(AlgorithmParameterSpec params, SecureRandom random) Methods inherited from class java.security.KeyPairGenerator
genKeyPair, getAlgorithm, getInstance, getInstance, getInstance, getProvider, initialize, initialize
-
Constructor Details
-
KyberKeyPairGeneratorSpi
public KyberKeyPairGeneratorSpi() -
KyberKeyPairGeneratorSpi
-
-
Method Details
-
initialize
- Overrides:
initialize
in classKeyPairGenerator
-
initialize
public void initialize(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException - Overrides:
initialize
in classKeyPairGenerator
- Throws:
InvalidAlgorithmParameterException
-
generateKeyPair
- Overrides:
generateKeyPair
in classKeyPairGenerator
-