|
Bouncy Castle Cryptography Library 1.47 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.crypto.generators.NTRUEncryptionKeyPairGenerator
public class NTRUEncryptionKeyPairGenerator
Generates key pairs.
The parameter p is hardcoded to 3.
Constructor Summary | |
---|---|
NTRUEncryptionKeyPairGenerator()
|
Method Summary | |
---|---|
AsymmetricCipherKeyPair |
generateKeyPair()
Generates a new encryption key pair. |
void |
init(KeyGenerationParameters param)
Constructs a new instance with a set of encryption parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NTRUEncryptionKeyPairGenerator()
Method Detail |
---|
public void init(KeyGenerationParameters param)
init
in interface AsymmetricCipherKeyPairGenerator
param
- encryption parameterspublic AsymmetricCipherKeyPair generateKeyPair()
generateKeyPair
in interface AsymmetricCipherKeyPairGenerator
|
Bouncy Castle Cryptography Library 1.47 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |