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`