k , however as per my client requirements i need to encrypt the chat messages in openfire database under archivemessages table. even admin should not able to visible chat messages. everything we should show in encrypted format. for eg: if we talk about gmail, eventhough gmail administrator have full access of database , but he not able to see the passwords,chatmessages of particular users, everything should be in encrypted format.
so , my intention is, any possibilites for this, how to encrpt the chat messages in openfire database. espeically in openfire dababase.
The encrypted messages should be visible by only for IM Clients ( GUI ). ie., a Openfire user who login to particular IM Client ( Eg: spark–> Only he/she opefire users , should have the access to see encrypted chat messages in IM Client ). he/she can visible all his friends chat messages. we should not set privileges to visible chat messages to Adminstrator. everything should be encrypted .
We should convert all encrypted chat messages into decrypted format and we should show all decrypted chat messages in IM Client in which he/she is a openfire database user.
I am waiting for your reply, is it possible to encrypt the chat messages in openfire database, and moreover, it should decrypted and visible to IM Client ( GUI ) .we should not give privileges to admin , to decrypt the chat messages…
If only end user (in his IM client) should be able to see messages, and nobody else, then why saving them into database at all? Just remove monitoring plugin and disable message audit.
Any one can tell me how can i access archived message at client side with the help of smack library. I am unable to pick up any api which can perform the required job. please share any view or any link from where i can get the solution to retrieve the chat archived at client hand.