Class OldShare

  • All Implemented Interfaces:
    IShare

    public class OldShare
    extends java.lang.Object
    implements IShare
    Deprecated.
    Use Java's reflection API to leverage CMS's old Share and JoinShares implementations.
    Version:
    $Revision$ $Date$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Object mOldImpl
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      OldShare()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      byte[] createShare​(int sharenumber)
      Deprecated.
       
      void initialize​(byte[] secret, int threshold)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mOldImpl

        public java.lang.Object mOldImpl
        Deprecated.
    • Constructor Detail

      • OldShare

        public OldShare()
        Deprecated.
    • Method Detail

      • initialize

        public void initialize​(byte[] secret,
                               int threshold)
                        throws java.lang.Exception
        Deprecated.
        Specified by:
        initialize in interface IShare
        Throws:
        java.lang.Exception
      • createShare

        public byte[] createShare​(int sharenumber)
        Deprecated.
        Specified by:
        createShare in interface IShare