RC2Parameters (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.crypto.params

## Class RC2Parameters

- java.lang.Object
- - org.bouncycastle.crypto.params.KeyParameter
  - - org.bouncycastle.crypto.params.RC2Parameters

- All Implemented Interfaces:
    CipherParameters

      public class RC2Parameters
      extends KeyParameter

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RC2Parameters(byte[] key)`
    `RC2Parameters(byte[] key, int bits)`

  - ### Method Summary

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

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

      `copyTo, getKey, getKeyLength, reverse`

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

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

- - ### Constructor Detail

    - #### RC2Parameters

          public RC2Parameters(byte[] key)

    - #### RC2Parameters

          public RC2Parameters(byte[] key,
                               int bits)

  - ### Method Detail

    - #### getEffectiveKeyBits

          public int getEffectiveKeyBits()