summaryrefslogtreecommitdiff
path: root/src/saml2/metadata.py
diff options
context:
space:
mode:
authorRoland Hedberg <roland.hedberg@adm.umu.se>2013-03-08 08:24:55 +0100
committerRoland Hedberg <roland.hedberg@adm.umu.se>2013-03-08 08:24:55 +0100
commit4340e80057a8e91d83165e32e71512adcdf640c7 (patch)
tree968558b095639b4bf2c9bf270998417cd877e84d /src/saml2/metadata.py
parent02f36267d761374d392a6a73f69e5c2f0cbd76cd (diff)
downloadpysaml2-4340e80057a8e91d83165e32e71512adcdf640c7.tar.gz
Wrong value corrected.
Diffstat (limited to 'src/saml2/metadata.py')
-rw-r--r--src/saml2/metadata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saml2/metadata.py b/src/saml2/metadata.py
index a7566304..1655a4c7 100644
--- a/src/saml2/metadata.py
+++ b/src/saml2/metadata.py
@@ -132,7 +132,7 @@ def do_key_descriptor(cert, use="both"):
x509_certificate=ds.X509Certificate(text=cert)
)
),
- use="encrypting"
+ use="encryption"
),
md.KeyDescriptor(
key_info=ds.KeyInfo(
@@ -143,7 +143,7 @@ def do_key_descriptor(cert, use="both"):
use="signing"
)
]
- elif use in ["signing", "encrypting"]:
+ elif use in ["signing", "encryption"]:
md.KeyDescriptor(
key_info=ds.KeyInfo(
x509_data=ds.X509Data(