public class ShamirSplitSecretShare extends java.lang.Object implements SecretShare
Constructor and Description |
---|
ShamirSplitSecretShare(byte[] secretShare) |
ShamirSplitSecretShare(byte[] secretShare,
int r) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getEncoded()
Return a byte array representing the implementing object.
|
public ShamirSplitSecretShare(byte[] secretShare, int r)
public ShamirSplitSecretShare(byte[] secretShare)
public byte[] getEncoded() throws java.io.IOException
Encodable
getEncoded
in interface Encodable
java.io.IOException
- if an issue arises generation the encoding.