Class ShamirSplitSecret
java.lang.Object
org.bouncycastle.crypto.threshold.ShamirSplitSecret
- All Implemented Interfaces:
SplitSecret
-
Constructor Summary
ConstructorsConstructorDescriptionShamirSplitSecret
(ShamirSecretSplitter.Algorithm algorithm, ShamirSecretSplitter.Mode mode, ShamirSplitSecretShare[] secretShares) -
Method Summary
-
Constructor Details
-
Method Details
-
multiple
- Throws:
IOException
-
divide
- Throws:
IOException
-
getSecret
Description copied from interface:SplitSecret
Recombines secret shares to reconstruct the original secret.- Specified by:
getSecret
in interfaceSplitSecret
- Returns:
- A byte array containing the reconstructed secret.
- Throws:
IOException