Bouncy Castle Cryptography Library 1.81

org.bouncycastle.crypto.threshold
Interface SplitSecret

All Known Implementing Classes:
ShamirSplitSecret

public interface SplitSecret


Method Summary
 byte[] getSecret()
          Recombines secret shares to reconstruct the original secret.
 SecretShare[] getSecretShares()
           
 

Method Detail

getSecretShares

public SecretShare[] getSecretShares()

getSecret

public 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

Bouncy Castle Cryptography Library 1.81