Class SNTRUPrimeKeyGenerationParameters
- java.lang.Object
-
- org.bouncycastle.crypto.KeyGenerationParameters
-
- org.bouncycastle.pqc.crypto.ntruprime.SNTRUPrimeKeyGenerationParameters
-
public class SNTRUPrimeKeyGenerationParameters extends KeyGenerationParameters
-
-
Constructor Summary
Constructors Constructor Description SNTRUPrimeKeyGenerationParameters(java.security.SecureRandom random, SNTRUPrimeParameters sntrupParams)
initialise the generator with a source of randomness and a strength (in bits).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SNTRUPrimeParameters
getSntrupParams()
-
Methods inherited from class org.bouncycastle.crypto.KeyGenerationParameters
getRandom, getStrength
-
-
-
-
Constructor Detail
-
SNTRUPrimeKeyGenerationParameters
public SNTRUPrimeKeyGenerationParameters(java.security.SecureRandom random, SNTRUPrimeParameters sntrupParams)
initialise the generator with a source of randomness and a strength (in bits).- Parameters:
random
- the random byte source.sntrupParams
- Streamlined NTRU Prime parameters
-
-
Method Detail
-
getSntrupParams
public SNTRUPrimeParameters getSntrupParams()
-
-