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
Verifier
public Verifier(int id,
SafeBigInt z,
SafeBigInt c,
SafeBigInt shareVerifier,
SafeBigInt groupVerifier)
Verifier
public Verifier(InputBuffer buffer)
throws QSException
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