Package org.bouncycastle.pqc.crypto.qtesla

## Class QTESLAKeyGenerationParameters

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

-     public class QTESLAKeyGenerationParameters
      extends KeyGenerationParameters

  qTESLA key-pair generation parameters.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `QTESLAKeyGenerationParameters​(int securityCategory, java.security.SecureRandom random)` | Base constructor - provide the qTESLA security category and a source of randomness.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `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.