ostore.dataobj
Class RPCert

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

public class RPCert
extends Object
implements QuickSerializable

RPCert

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

Constructor Summary
RPCert()
           
RPCert(InputBuffer buffer)
           
RPCert(QSPublicKey p, QSPublicKey rp, String name)
           
 
Method Summary
 boolean equals(Object other)
           
 String getName()
           
 QSPublicKey getPrincipal()
           
 QSPublicKey getRP()
           
 SecureHash guid()
           
static SecureHash guid(QSPublicKey principal, String name)
           
 boolean isValid()
           
 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
 

Constructor Detail

RPCert

public RPCert()

RPCert

public RPCert(QSPublicKey p,
              QSPublicKey rp,
              String name)

RPCert

public RPCert(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

getPrincipal

public QSPublicKey getPrincipal()

getRP

public QSPublicKey getRP()

getName

public String getName()

guid

public static SecureHash guid(QSPublicKey principal,
                              String name)

guid

public SecureHash guid()

isValid

public boolean isValid()

equals

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

toString

public String toString()
Overrides:
toString in class Object