summaryrefslogtreecommitdiffstats
path: root/lasso/xml/tools.h
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-05-25 23:45:38 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-05-25 23:45:38 +0000
commitf64826244700e3e366b4f3933eb40a2960bdd217 (patch)
treecf18cb58158c4b7d2dfe5191d3faa5bfab9cb255 /lasso/xml/tools.h
parent01da79e0a3fc1365abb0763d0a466033d225f6c5 (diff)
downloadlasso-f64826244700e3e366b4f3933eb40a2960bdd217.tar.gz
lasso-f64826244700e3e366b4f3933eb40a2960bdd217.tar.xz
lasso-f64826244700e3e366b4f3933eb40a2960bdd217.zip
Modified function lasso_str_sign()
Diffstat (limited to 'lasso/xml/tools.h')
-rw-r--r--lasso/xml/tools.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/lasso/xml/tools.h b/lasso/xml/tools.h
index a2c9cfe7..c5a79c96 100644
--- a/lasso/xml/tools.h
+++ b/lasso/xml/tools.h
@@ -39,6 +39,11 @@ extern "C" {
#include <lasso/export.h>
+typedef enum {
+ lassoSignatureMethodRsaSha1 = 1,
+ lassoSignatureMethodDsaSha1
+} lassoSignatureMethod;
+
LASSO_EXPORT xmlChar* lasso_build_unique_id (guint8 size);
LASSO_EXPORT xmlChar* lasso_doc_get_node_content (xmlDocPtr doc,
@@ -60,9 +65,9 @@ LASSO_EXPORT int lasso_query_verify_signature (const gchar *query,
LASSO_EXPORT xmlChar* lasso_str_escape (xmlChar *str);
-LASSO_EXPORT xmlDocPtr lasso_str_sign (xmlChar *str,
- xmlSecTransformId signMethodId,
- const char *private_key_file);
+LASSO_EXPORT xmlDocPtr lasso_str_sign (xmlChar *str,
+ lassoSignatureMethod sign_method,
+ const char *private_key_file);
LASSO_EXPORT xmlChar* lasso_str_unescape (xmlChar *str);