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

org.bouncycastle.crypto.prng.test

## Class TestEntropySourceProvider

- java.lang.Object
- - org.bouncycastle.crypto.prng.test.TestEntropySourceProvider

- All Implemented Interfaces:
    EntropySourceProvider

      public class TestEntropySourceProvider
      extends java.lang.Object
      implements EntropySourceProvider

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `TestEntropySourceProvider(byte[] data, boolean isPredictionResistant)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `EntropySource` | `get(int bitsRequired)`

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

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

- - ### Constructor Detail

    - #### TestEntropySourceProvider

          protected TestEntropySourceProvider(byte[] data,
                                              boolean isPredictionResistant)

  - ### Method Detail

    - #### get

          public EntropySource get(int bitsRequired)

      Specified by:
        `get` in interface `EntropySourceProvider`