Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.85
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.crypto.threshold
Class ShamirSplitSecretShare

    java.lang.Object
      org.bouncycastle.crypto.threshold.ShamirSplitSecretShare

All Implemented Interfaces:
  Encodable, SecretShare

public class ShamirSplitSecretShare
extends java.lang.Object
implements SecretShare

Constructor Summary
`ShamirSplitSecretShare(byte[] secretShare)`
`ShamirSplitSecretShare(byte[] secretShare, int r)`

Method Summary
`byte[]` | `getEncoded()` Return a byte array representing the implementing object.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ShamirSplitSecretShare

    public ShamirSplitSecretShare(byte[] secretShare,
                                  int r)

### ShamirSplitSecretShare

    public ShamirSplitSecretShare(byte[] secretShare)

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 interface `Encodable`
  Returns:
    a byte array representing the encoding.
  Throws:
    `java.io.IOException` - if an issue arises generation the encoding.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.85
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD