Package org.bouncycastle.pqc.crypto.rainbow

## Class RainbowKeyParameters

- java.lang.Object
- - org.bouncycastle.crypto.params.AsymmetricKeyParameter
  - - org.bouncycastle.pqc.crypto.rainbow.RainbowKeyParameters

- All Implemented Interfaces:
    `CipherParameters`
  Direct Known Subclasses:
    `RainbowPrivateKeyParameters`, `RainbowPublicKeyParameters`

      public class RainbowKeyParameters
      extends AsymmetricKeyParameter

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `RainbowKeyParameters​(boolean isPrivate, int docLength)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getDocLength()` |

    - ### 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

    - #### RainbowKeyParameters

          public RainbowKeyParameters​(boolean isPrivate,
                                      int docLength)

  - ### Method Detail

    - #### getDocLength

          public int getDocLength()

      Returns:
        the docLength