diff options
author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-05-25 23:45:38 +0000 |
---|---|---|
committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-05-25 23:45:38 +0000 |
commit | f64826244700e3e366b4f3933eb40a2960bdd217 (patch) | |
tree | cf18cb58158c4b7d2dfe5191d3faa5bfab9cb255 /lasso/xml/tools.h | |
parent | 01da79e0a3fc1365abb0763d0a466033d225f6c5 (diff) | |
download | lasso-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.h | 11 |
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); |