com.netscape.cms.shares
Class OldShare

java.lang.Object
  extended by com.netscape.cms.shares.OldShare
All Implemented Interfaces:
IShare

public class OldShare
extends java.lang.Object
implements IShare

Use Java's reflection API to leverage CMS's old Share and JoinShares implementations.


Field Summary
 java.lang.Object mOldImpl
           
 
Constructor Summary
OldShare()
           
 
Method Summary
 byte[] createShare(int sharenumber)
           
 void initialize(byte[] secret, int threshold)
           
 
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
Constructor Detail

OldShare

public OldShare()
Method Detail

initialize

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

createShare

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