Class QTESLAKeyGenerationParameters

java.lang.Object
org.bouncycastle.crypto.KeyGenerationParameters
org.bouncycastle.pqc.legacy.crypto.qtesla.QTESLAKeyGenerationParameters

public class QTESLAKeyGenerationParameters extends KeyGenerationParameters
qTESLA key-pair generation parameters.
  • Constructor Details

    • QTESLAKeyGenerationParameters

      public QTESLAKeyGenerationParameters(int securityCategory, 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 Details

    • getSecurityCategory

      public int getSecurityCategory()
      Return the security category for these parameters.
      Returns:
      the security category for keys generated using these parameters.