ostore.security.thresh
Class ThresholdSignedQS

java.lang.Object
  |
  +--ostore.security.SignedQS
        |
        +--ostore.security.thresh.ThresholdSignedQS
All Implemented Interfaces:
QuickSerializable

public class ThresholdSignedQS
extends SignedQS

A SignedQS for threshold signatures.

Version:
$Id: ThresholdSignedQS.java,v 1.12 2002/08/14 01:13:34 srhea Exp $
Author:
Sean C. Rhea

Nested Class Summary
 
Nested classes inherited from class ostore.security.SignedQS
SignedQS.SignatureBuffer
 
Field Summary
 
Fields inherited from class ostore.security.SignedQS
_qs_signature, _qs_signature_type, _signature, _user_data
 
Constructor Summary
ThresholdSignedQS(InputBuffer buffer)
          Deserialize the same way as a SignedQS.
ThresholdSignedQS(QuickSerializable user_data, byte[] signature)
          The default constructor.
 
Method Summary
static byte[] bytes_to_sign(QuickSerializable user_data, long qs_signature_type)
           
static SigShare create_sig_share(KeyShare keyshare, QuickSerializable user_data, long qs_signature_type)
           
 
Methods inherited from class ostore.security.SignedQS
init, init, main, qs_signature, serialize, toString, user_data, verify, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThresholdSignedQS

public ThresholdSignedQS(InputBuffer buffer)
                  throws QSException
Deserialize the same way as a SignedQS.


ThresholdSignedQS

public ThresholdSignedQS(QuickSerializable user_data,
                         byte[] signature)
The default constructor.

TODO: this interface practically encourages bugs.

Method Detail

create_sig_share

public static SigShare create_sig_share(KeyShare keyshare,
                                        QuickSerializable user_data,
                                        long qs_signature_type)

bytes_to_sign

public static byte[] bytes_to_sign(QuickSerializable user_data,
                                   long qs_signature_type)