Bouncy Castle Cryptography Library 1.81

org.bouncycastle.pqc.crypto.ntruprime
Class NTRULPRimeKeyGenerationParameters

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

public class NTRULPRimeKeyGenerationParameters
extends KeyGenerationParameters


Constructor Summary
NTRULPRimeKeyGenerationParameters(java.security.SecureRandom random, NTRULPRimeParameters ntrulprParams)
          initialise the generator with a source of randomness and a strength (in bits).
 
Method Summary
 NTRULPRimeParameters getNtrulprParams()
           
 
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

NTRULPRimeKeyGenerationParameters

public NTRULPRimeKeyGenerationParameters(java.security.SecureRandom random,
                                         NTRULPRimeParameters ntrulprParams)
initialise the generator with a source of randomness and a strength (in bits).

Parameters:
random - the random byte source.
ntrulprParams - NTRU LPRime parameters
Method Detail

getNtrulprParams

public NTRULPRimeParameters getNtrulprParams()

Bouncy Castle Cryptography Library 1.81