summaryrefslogtreecommitdiffstats
path: root/lasso/id-ff/server.h
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-06-10 13:38:02 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-06-10 13:38:02 +0000
commit0986fa439a1d76349d50abf2c02577e7b5fc0b2b (patch)
tree1530a05341b011f6985a19520329ba4de478ce6f /lasso/id-ff/server.h
parentc6fa47127ed38e8bb07399791919299adcdfb2a8 (diff)
downloadlasso-0986fa439a1d76349d50abf2c02577e7b5fc0b2b.tar.gz
lasso-0986fa439a1d76349d50abf2c02577e7b5fc0b2b.tar.xz
lasso-0986fa439a1d76349d50abf2c02577e7b5fc0b2b.zip
Core: add method lasso_server_set_encryption_private_key_with_password
* fixes #91.
Diffstat (limited to 'lasso/id-ff/server.h')
-rw-r--r--lasso/id-ff/server.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lasso/id-ff/server.h b/lasso/id-ff/server.h
index fe8f5ae1..86c18cc4 100644
--- a/lasso/id-ff/server.h
+++ b/lasso/id-ff/server.h
@@ -96,10 +96,13 @@ LASSO_EXPORT LassoProvider* lasso_server_get_provider(const LassoServer *server,
const gchar *providerID);
LASSO_EXPORT int lasso_server_set_encryption_private_key(LassoServer *server,
- const gchar *filename);
+ const gchar *filename_or_buffer);
LASSO_EXPORT int lasso_server_load_affiliation(LassoServer *server, const gchar* filename);
+LASSO_EXPORT int lasso_server_set_encryption_private_key_with_password(LassoServer *server,
+ const gchar *filename_or_buffer, const gchar *password);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */