ostore.security.thresh
Class Verifier

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

public class Verifier
extends Object
implements QuickSerializable

Verifier for signature shares.

Reference: "Practical Threshold Signatures", Victor Shoup (sho@zurich.ibm.com), IBM Research Paper RZ3121, 4/30/99

Version:
$Id: Verifier.java,v 1.15 2002/07/20 19:38:03 srhea Exp $
Author:
Steve Weis

Constructor Summary
Verifier(InputBuffer buffer)
           
Verifier(int id, SafeBigInt z, SafeBigInt c, SafeBigInt shareVerifier, SafeBigInt groupVerifier)
           
 
Method Summary
 boolean equals(Object other)
           
 SafeBigInt getC()
           
 SafeBigInt getGroupVerifier()
           
 SafeBigInt getShareVerifier()
           
 SafeBigInt getZ()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Verifier

public Verifier(int id,
                SafeBigInt z,
                SafeBigInt c,
                SafeBigInt shareVerifier,
                SafeBigInt groupVerifier)

Verifier

public Verifier(InputBuffer buffer)
         throws QSException
Method Detail

getZ

public SafeBigInt getZ()

getShareVerifier

public SafeBigInt getShareVerifier()

getGroupVerifier

public SafeBigInt getGroupVerifier()

getC

public SafeBigInt getC()

equals

public boolean equals(Object other)
Overrides:
equals in class Object

serialize

public void serialize(OutputBuffer buffer)
Description copied from interface: QuickSerializable
Add the object to the buffer.

Specified by:
serialize in interface QuickSerializable
Parameters:
buffer - the output buffer to add the object to