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
RPCert
public RPCert()
RPCert
public RPCert(QSPublicKey p,
QSPublicKey rp,
String name)
RPCert
public RPCert(InputBuffer buffer)
throws QSException
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