public class NTRUEncryptionKeyPairGenerator extends java.lang.Object implements AsymmetricCipherKeyPairGenerator
Constructor and Description |
---|
NTRUEncryptionKeyPairGenerator() |
Modifier and Type | Method and Description |
---|---|
AsymmetricCipherKeyPair |
generateKeyPair()
Generates a new encryption key pair.
|
void |
init(KeyGenerationParameters param)
Constructs a new instance with a set of encryption parameters.
|
public void init(KeyGenerationParameters param)
init
in interface AsymmetricCipherKeyPairGenerator
param
- encryption parameterspublic AsymmetricCipherKeyPair generateKeyPair()
generateKeyPair
in interface AsymmetricCipherKeyPairGenerator