ostore.security.thresh
Class ThresholdPublicKey
java.lang.Object
|
+--ostore.security.thresh.ThresholdPublicKey
- All Implemented Interfaces:
- Key, PublicKey, QSPublicKey, QuickSerializable, Serializable
- public class ThresholdPublicKey
- extends Object
- implements PublicKey, QSPublicKey
A public key class for threshold signatures.
- Version:
- $Id: ThresholdPublicKey.java,v 1.19 2002/08/02 19:53:08 geels Exp $
- Author:
- Sean C. Rhea
- See Also:
- Serialized Form
ThresholdPublicKey
public ThresholdPublicKey(InputBuffer buffer)
throws QSException
toString
public String toString()
- Overrides:
toString
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
key
public PublicKey key()
- Description copied from interface:
QSPublicKey
- Return the key associated with this object.
- Specified by:
key
in interface QSPublicKey
- Returns:
- the key associated with this object
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm
in interface Key
getFormat
public String getFormat()
- Specified by:
getFormat
in interface Key
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interface Key