Bouncy Castle Cryptography Library 1.81

org.bouncycastle.pqc.crypto.ntruprime
Class SNTRUPrimeKeyGenerationParameters

java.lang.Object
  extended byorg.bouncycastle.crypto.KeyGenerationParameters
      extended byorg.bouncycastle.pqc.crypto.ntruprime.SNTRUPrimeKeyGenerationParameters

public class SNTRUPrimeKeyGenerationParameters
extends KeyGenerationParameters


Constructor Summary
SNTRUPrimeKeyGenerationParameters(java.security.SecureRandom random, SNTRUPrimeParameters sntrupParams)
          initialise the generator with a source of randomness and a strength (in bits).
 
Method Summary
 SNTRUPrimeParameters getSntrupParams()
           
 
Methods inherited from class org.bouncycastle.crypto.KeyGenerationParameters
getRandom, getStrength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()

Bouncy Castle Cryptography Library 1.81