ostore.dataobj
Class PRCert

java.lang.Object
  |
  +--ostore.dataobj.PRCert
All Implemented Interfaces:
QuickSerializable

public class PRCert
extends Object
implements QuickSerializable

A certificate mapping an AGUID to the public key of an inner ring.

Version:
$Id: PRCert.java,v 1.16 2002/07/21 20:57:34 srhea Exp $
Author:
Sean C. Rhea

Field Summary
 SecureHash aguid
           
 QSPublicKey pr_key
           
 
Constructor Summary
PRCert(InputBuffer buffer)
           
PRCert(SecureHash aguid, QSPublicKey pr_key)
           
 
Method Summary
 boolean equals(Object obj)
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

aguid

public SecureHash aguid

pr_key

public QSPublicKey pr_key
Constructor Detail

PRCert

public PRCert(SecureHash aguid,
              QSPublicKey pr_key)

PRCert

public PRCert(InputBuffer buffer)
       throws QSException
Method Detail

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

equals

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

toString

public String toString()
Overrides:
toString in class Object