ostore.mac
Class DHMessage
java.lang.Object
|
+--dd.api.DDRouteMsg
|
+--ostore.mac.DHMessage
- All Implemented Interfaces:
- QueueElementIF, QuickSerializable
- public class DHMessage
- extends DDRouteMsg
Message specific to Diffie-Hellman StS key agreement
INITIALIZE
public static int INITIALIZE
RESPOND
public static int RESPOND
FINALIZE
public static int FINALIZE
QSkey
public QSDHPublicKey QSkey
sigkey
public QSPublicKey sigkey
MACType
public QSMACType MACType
messageType
public int messageType
DHMessage
public DHMessage(SecureHash toWhom,
DHPublicKey key,
QSPublicKey sigkey,
QSMACType MACType,
QuickSerializable user_data,
QSByteArray mac,
int messageType,
boolean recursive,
boolean dd_intermediate_upcall,
boolean one_hop)
DHMessage
public DHMessage(InputBuffer buffer)
throws QSException
- Generate DHMessage from data
serialize
public void serialize(OutputBuffer buffer)
- Description copied from interface:
QuickSerializable
- Add the object to the
buffer
.
- Specified by:
serialize
in interface QuickSerializable
- Overrides:
serialize
in class DDRouteMsg
- Parameters:
buffer
- the output buffer to add the object to
toString
public String toString()
- Overrides:
toString
in class Object
print
public void print()