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

org.bouncycastle.crypto.threshold

## Interface SplitSecret

- All Known Implementing Classes:
    ShamirSplitSecret

      public interface SplitSecret

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `getSecret()` Recombines secret shares to reconstruct the original secret.
    `SecretShare[]` | `getSecretShares()`

- - ### Method Detail

    - #### getSecretShares

          SecretShare[] getSecretShares()

    - #### getSecret

          byte[] getSecret()
                    throws java.io.IOException

      Recombines secret shares to reconstruct the original secret.
      Returns:
        A byte array containing the reconstructed secret.
      Throws:
        `java.io.IOException`