ostore.security
Class QSDHPublicKey
java.lang.Object
|
+--ostore.security.QSDHPublicKey
- All Implemented Interfaces:
- QSPublicKey, QuickSerializable
- public class QSDHPublicKey
- extends Object
- implements QSPublicKey
QuickSerializable Diffie-Hellman public key. Based on the same
the Cryptix JCE DHPublicCryptix v1.1 and QSPublicKey
- Version:
- $Revision 1.0$
- Author:
- Gifford Cheung
QSDHPublicKey
public QSDHPublicKey(DHPublicKey key)
QSDHPublicKey
public QSDHPublicKey(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
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
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object