Package org.bouncycastle.pqc.crypto.hqc
Class HQCKeyPairGenerator
java.lang.Object
org.bouncycastle.pqc.crypto.hqc.HQCKeyPairGenerator
- All Implemented Interfaces:
AsymmetricCipherKeyPairGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreturn an AsymmetricCipherKeyPair containing the generated keys.generateKeyPairWithSeed
(byte[] seed) void
init
(KeyGenerationParameters params) intialise the key pair generator.
-
Constructor Details
-
HQCKeyPairGenerator
public HQCKeyPairGenerator()
-
-
Method Details
-
init
Description copied from interface:AsymmetricCipherKeyPairGenerator
intialise the key pair generator.- Specified by:
init
in interfaceAsymmetricCipherKeyPairGenerator
- Parameters:
params
- the parameters the key pair is to be initialised with.
-
generateKeyPair
Description copied from interface:AsymmetricCipherKeyPairGenerator
return an AsymmetricCipherKeyPair containing the generated keys.- Specified by:
generateKeyPair
in interfaceAsymmetricCipherKeyPairGenerator
- Returns:
- an AsymmetricCipherKeyPair containing the generated keys.
-
generateKeyPairWithSeed
-