Bouncy Castle Cryptography Library 1.81

org.bouncycastle.pqc.legacy.crypto.qtesla
Class QTESLAKeyGenerationParameters

java.lang.Object
  extended byorg.bouncycastle.crypto.KeyGenerationParameters
      extended byorg.bouncycastle.pqc.legacy.crypto.qtesla.QTESLAKeyGenerationParameters

public class QTESLAKeyGenerationParameters
extends KeyGenerationParameters

qTESLA key-pair generation parameters.


Constructor Summary
QTESLAKeyGenerationParameters(int securityCategory, java.security.SecureRandom random)
          Base constructor - provide the qTESLA security category and a source of randomness.
 
Method Summary
 int getSecurityCategory()
          Return the security category for these parameters.
 
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

QTESLAKeyGenerationParameters

public QTESLAKeyGenerationParameters(int securityCategory,
                                     java.security.SecureRandom random)
Base constructor - provide the qTESLA security category and a source of randomness.

Parameters:
securityCategory - the security category to generate the parameters for.
random - the random byte source.
Method Detail

getSecurityCategory

public int getSecurityCategory()
Return the security category for these parameters.

Returns:
the security category for keys generated using these parameters.

Bouncy Castle Cryptography Library 1.81