libsignoncrypto-qt now exports C compatible functions for encrypting/decrypting GHash... 1
authorRauli Ikonen <rauli.ikonen@nixuopen.org>
Thu, 10 Feb 2011 06:57:43 +0000 (08:57 +0200)
committerRauli Ikonen <rauli.ikonen@nixuopen.org>
Thu, 10 Feb 2011 06:57:43 +0000 (08:57 +0200)
commitbdd751dc35de384874bcacd70a16084e916b6b0a
tree2326903973fe04bb13a006c05bb00728bafc6f75
parentc5948e9c44d44e1a32535a6d0504e5e41bdd299a
libsignoncrypto-qt now exports C compatible functions for encrypting/decrypting GHashTable* and gchar*. These functions internally convert the received items to Qt format (GHashTable*->QVariantMap, gchar*->QString), perform encryption/decryption using the normal Qt code, and then convert the results back to Glib objects. This allows making signon-glib use serialization format that is compatible with the Qt version so that signond does not need to care about the type of the client application. Tests for the Glib compatible encrypt/decrypt functions were also added. Required for fixing https://bugs.meego.com/show_bug.cgi?id=12431
lib/SignOnCrypto/SignOnCrypto.pro
lib/SignOnCrypto/encryptor_glib.cpp [new file with mode: 0644]
lib/SignOnCrypto/encryptor_glib.h [new file with mode: 0644]
lib/tests/test.cpp
lib/tests/test.h
lib/tests/tests.pro