public class SNTRUPrimeKeyPairGenerator extends java.lang.Object implements AsymmetricCipherKeyPairGenerator
Constructor and Description |
---|
SNTRUPrimeKeyPairGenerator() |
Modifier and Type | Method and Description |
---|---|
AsymmetricCipherKeyPair |
generateKeyPair()
return an AsymmetricCipherKeyPair containing the generated keys.
|
SNTRUPrimeKeyGenerationParameters |
getParams() |
void |
init(KeyGenerationParameters param)
Initialize the Key Pair Generator.
|
public SNTRUPrimeKeyGenerationParameters getParams()
public void init(KeyGenerationParameters param)
init
in interface AsymmetricCipherKeyPairGenerator
param
- the parameters the key pair is to be initialised with.public AsymmetricCipherKeyPair generateKeyPair()
generateKeyPair
in interface AsymmetricCipherKeyPairGenerator