|
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.NTRUSigningKeyPairGenerator
public class NTRUSigningKeyPairGenerator
Nested Class Summary | |
---|---|
class |
NTRUSigningKeyPairGenerator.FGBasis
A subclass of Basis that additionally contains the polynomials F and G . |
Constructor Summary | |
---|---|
NTRUSigningKeyPairGenerator()
|
Method Summary | |
---|---|
NTRUSigningPrivateKeyParameters.Basis |
generateBoundedBasis()
Creates a basis such that |F| < keyNormBound and |G| < keyNormBound |
AsymmetricCipherKeyPair |
generateKeyPair()
Generates a new signature key pair. |
AsymmetricCipherKeyPair |
generateKeyPairSingleThread()
Generates a new signature key pair. |
void |
init(KeyGenerationParameters param)
intialise the key pair generator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NTRUSigningKeyPairGenerator()
Method Detail |
---|
public void init(KeyGenerationParameters param)
AsymmetricCipherKeyPairGenerator
init
in interface AsymmetricCipherKeyPairGenerator
param
- the parameters the key pair is to be initialised with.public AsymmetricCipherKeyPair generateKeyPair()
B+1
threads.
generateKeyPair
in interface AsymmetricCipherKeyPairGenerator
public AsymmetricCipherKeyPair generateKeyPairSingleThread()
public NTRUSigningPrivateKeyParameters.Basis generateBoundedBasis()
|F| < keyNormBound
and |G| < keyNormBound
|
Bouncy Castle Cryptography Library 1.47 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |