mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-20 04:14:27 -04:00
removed all chat serialization code
This commit is contained in:
parent
ae9d0b2ab4
commit
8b773885fd
2 changed files with 0 additions and 1213 deletions
File diff suppressed because it is too large
Load diff
|
@ -327,30 +327,6 @@ class RsChatAvatarItem: public RsChatItem
|
||||||
unsigned char *image_data ; // image
|
unsigned char *image_data ; // image
|
||||||
};
|
};
|
||||||
|
|
||||||
// This class contains the public Diffie-Hellman parameters to be sent
|
|
||||||
// when performing a DH agreement over a distant chat tunnel.
|
|
||||||
//
|
|
||||||
class RsChatDHPublicKeyItem: public RsChatItem
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
RsChatDHPublicKeyItem() :RsChatItem(RS_PKT_SUBTYPE_DISTANT_CHAT_DH_PUBLIC_KEY) {setPriorityLevel(QOS_PRIORITY_RS_CHAT_ITEM) ;}
|
|
||||||
|
|
||||||
virtual ~RsChatDHPublicKeyItem() { BN_free(public_key) ; }
|
|
||||||
|
|
||||||
void serial_process(RsItem::SerializeJob j,SerializeContext& ctx);
|
|
||||||
|
|
||||||
// Private data to DH public key item
|
|
||||||
//
|
|
||||||
BIGNUM *public_key ;
|
|
||||||
|
|
||||||
RsTlvKeySignature signature ; // signs the public key in a row.
|
|
||||||
RsTlvPublicRSAKey gxs_key ; // public key of the signer
|
|
||||||
|
|
||||||
private:
|
|
||||||
RsChatDHPublicKeyItem(const RsChatDHPublicKeyItem&) : RsChatItem(RS_PKT_SUBTYPE_DISTANT_CHAT_DH_PUBLIC_KEY) {} // make the object non copy-able
|
|
||||||
const RsChatDHPublicKeyItem& operator=(const RsChatDHPublicKeyItem&) { return *this ;}
|
|
||||||
};
|
|
||||||
|
|
||||||
class RsChatSerialiser: public RsSerializer
|
class RsChatSerialiser: public RsSerializer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue