summaryrefslogtreecommitdiffstats
path: root/python/examples/registration.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/registration.py')
-rw-r--r--python/examples/registration.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/examples/registration.py b/python/examples/registration.py
index 23d2fb8d..a619fd54 100644
--- a/python/examples/registration.py
+++ b/python/examples/registration.py
@@ -7,13 +7,13 @@ import lasso
# servers :
spserver = lasso.Server.new("../../examples/sp.xml",
"../../examples/rsapub.pem", "../../examples/rsakey.pem", "../../examples/rsacert.pem",
- lasso.signatureMethodRsaSha1)
+ lasso.SIGNATURE_METHOD_RSA_SHA1)
spserver.add_provider("../../examples/idp.xml", None, None)
idpserver = lasso.Server.new("../../examples/idp.xml",
"../../examples/rsapub.pem", "../../examples/rsakey.pem", "../../examples/rsacert.pem",
- lasso.signatureMethodRsaSha1)
+ lasso.SIGNATURE_METHOD_RSA_SHA1)
spserver.add_provider("../../examples/sp.xml", None, None)