Class ShamirSplitSecretShare
- java.lang.Object
-
- org.bouncycastle.crypto.threshold.ShamirSplitSecretShare
-
- All Implemented Interfaces:
SecretShare
,Encodable
public class ShamirSplitSecretShare extends java.lang.Object implements SecretShare
-
-
Constructor Summary
Constructors Constructor Description ShamirSplitSecretShare(byte[] secretShare)
ShamirSplitSecretShare(byte[] secretShare, int r)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getEncoded()
Return a byte array representing the implementing object.
-
-
-
Method Detail
-
getEncoded
public byte[] getEncoded() throws java.io.IOException
Description copied from interface:Encodable
Return a byte array representing the implementing object.- Specified by:
getEncoded
in interfaceEncodable
- Returns:
- a byte array representing the encoding.
- Throws:
java.io.IOException
- if an issue arises generation the encoding.
-
-