Class ShamirSplitSecretShare

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.