Package org.bouncycastle.pqc.crypto.qtesla

## Class QTESLAPrivateKeyParameters

- java.lang.Object
- - org.bouncycastle.crypto.params.AsymmetricKeyParameter
  - - org.bouncycastle.pqc.crypto.qtesla.QTESLAPrivateKeyParameters

- All Implemented Interfaces:
    `CipherParameters`

      public final class QTESLAPrivateKeyParameters
      extends AsymmetricKeyParameter

  qTESLA private key

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `QTESLAPrivateKeyParameters​(int securityCategory, byte[] privateKey)` | Base constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `byte[]` | `getSecret()` | Return the key's secret value.
    `int` | `getSecurityCategory()` | Return the security category for this key.

    - ### Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter

      `isPrivate`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### QTESLAPrivateKeyParameters

          public QTESLAPrivateKeyParameters​(int securityCategory,
                                            byte[] privateKey)

      Base constructor.
      Parameters:
        `securityCategory` - the security category for the passed in public key data.
        `privateKey` - the private key data.

  - ### Method Detail

    - #### getSecurityCategory

          public int getSecurityCategory()

      Return the security category for this key.
      Returns:
        the key's security category.

    - #### getSecret

          public byte[] getSecret()

      Return the key's secret value.
      Returns:
        key private data.