public class SnovaKeyPairGenerator extends java.lang.Object implements AsymmetricCipherKeyPairGenerator
This generator produces SnovaPublicKeyParameters and SnovaPrivateKeyParameters based on the
Snova algorithm parameters. The implementation follows the specification defined in the official Snova
documentation and reference implementation.
References:
| Constructor and Description |
|---|
SnovaKeyPairGenerator() |
| Modifier and Type | Method and Description |
|---|---|
AsymmetricCipherKeyPair |
generateKeyPair()
return an AsymmetricCipherKeyPair containing the generated keys.
|
void |
init(KeyGenerationParameters param)
intialise the key pair generator.
|
public void init(KeyGenerationParameters param)
AsymmetricCipherKeyPairGeneratorinit in interface AsymmetricCipherKeyPairGeneratorparam - the parameters the key pair is to be initialised with.public AsymmetricCipherKeyPair generateKeyPair()
AsymmetricCipherKeyPairGeneratorgenerateKeyPair in interface AsymmetricCipherKeyPairGenerator