Class SQIsignKeyPairGenerator
java.lang.Object
org.bouncycastle.pqc.crypto.sqisign.SQIsignKeyPairGenerator
- All Implemented Interfaces:
AsymmetricCipherKeyPairGenerator
SQIsign key-pair generator wired for all three NIST parameter sets
(lvl1, lvl3, lvl5). The polymorphic GfField layer dispatches the EC/HD/theta
arithmetic to the per-level prime, and the per-level
SQIsignKeyGenLvl* drivers supply the precomp constants.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturn an AsymmetricCipherKeyPair containing the generated keys.voidinit(KeyGenerationParameters param) intialise the key pair generator.
-
Constructor Details
-
SQIsignKeyPairGenerator
public SQIsignKeyPairGenerator()
-
-
Method Details
-
init
Description copied from interface:AsymmetricCipherKeyPairGeneratorintialise the key pair generator.- Specified by:
initin interfaceAsymmetricCipherKeyPairGenerator- Parameters:
param- the parameters the key pair is to be initialised with.
-
generateKeyPair
Description copied from interface:AsymmetricCipherKeyPairGeneratorreturn an AsymmetricCipherKeyPair containing the generated keys.- Specified by:
generateKeyPairin interfaceAsymmetricCipherKeyPairGenerator- Returns:
- an AsymmetricCipherKeyPair containing the generated keys.
-