How to store public data on the serve

Hello.

I’‘m trying to store some public information in a Jabber server, that information should be accessible from any other clients (actually i’'m tryng to store public keys).

What I have done to the moment is to create a SET IQ message that looks like this :

element.

I have also tried to cast the packet received, but it launchs always a cast exception…

Any ideas?

Thanks in advance.