Package org.bouncycastle.pqc.crypto.ntru
Class NTRUKeyGenerationParameters
- java.lang.Object
-
- org.bouncycastle.crypto.KeyGenerationParameters
-
- org.bouncycastle.pqc.crypto.ntru.NTRUKeyGenerationParameters
-
public class NTRUKeyGenerationParameters extends KeyGenerationParameters
Key generation parameters for NTRU.
-
-
Constructor Summary
Constructors Constructor Description NTRUKeyGenerationParameters(java.security.SecureRandom random, NTRUParameters params)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NTRUParameters
getParameters()
-
Methods inherited from class org.bouncycastle.crypto.KeyGenerationParameters
getRandom, getStrength
-
-
-
-
Constructor Detail
-
NTRUKeyGenerationParameters
public NTRUKeyGenerationParameters(java.security.SecureRandom random, NTRUParameters params)
Constructor.- Parameters:
random
- a secure random number generatorparams
- an NTRU parameter set
-
-
Method Detail
-
getParameters
public NTRUParameters getParameters()
- Returns:
- the NTRU parameter set used for this key generation
-
-