Class AIMerKeyPairGenerator
- java.lang.Object
-
- org.bouncycastle.pqc.crypto.aimer.AIMerKeyPairGenerator
-
- All Implemented Interfaces:
AsymmetricCipherKeyPairGenerator
public class AIMerKeyPairGenerator extends java.lang.Object implements AsymmetricCipherKeyPairGenerator
Implementation of the AIMer asymmetric key pair generator following the AIMer signature scheme specifications.This generator produces
AIMerPublicKeyParametersandAIMerPrivateKeyParametersbased on the AIMer algorithm parameters. The implementation follows the specification defined in the official AIMer documentation and reference implementation.AIMer is a selected algorithm in the Korean Post-Quantum Cryptography (KPQC) project.
References:
-
-
Constructor Summary
Constructors Constructor Description AIMerKeyPairGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsymmetricCipherKeyPairgenerateKeyPair()return an AsymmetricCipherKeyPair containing the generated keys.voidinit(KeyGenerationParameters params)intialise the key pair generator.
-
-
-
Method Detail
-
init
public void init(KeyGenerationParameters params)
Description copied from interface:AsymmetricCipherKeyPairGeneratorintialise the key pair generator.- Specified by:
initin interfaceAsymmetricCipherKeyPairGenerator- Parameters:
params- the parameters the key pair is to be initialised with.
-
generateKeyPair
public AsymmetricCipherKeyPair generateKeyPair()
Description copied from interface:AsymmetricCipherKeyPairGeneratorreturn an AsymmetricCipherKeyPair containing the generated keys.- Specified by:
generateKeyPairin interfaceAsymmetricCipherKeyPairGenerator- Returns:
- an AsymmetricCipherKeyPair containing the generated keys.
-
-