libsaml 2.1.8 → 2.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/saml/response.rb +3 -1
- data/lib/saml/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1381af2e90081512e2b7952ba738fc99c66ad898
|
4
|
+
data.tar.gz: 70c93e3abfdfcc13f0c22be0c9d44ca836609786
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 827cbdf17b4c53090bdeac9f625fc732bac3b91ee598a059c177cda6c6095744b15ae9c55cb2f2857d104b9d5fadce360c54784a5ff117a3d2513fc8ede2b225
|
7
|
+
data.tar.gz: 4d5b413ac0933ebbdcc9b7334a48b53e849672f03ed49a73e3ce5305d6c5af5af9f33a1645d64d5e2375078135f79748f7e645a918805b94da90198fc50f6ca5
|
data/lib/saml/response.rb
CHANGED
@@ -21,7 +21,9 @@ module Saml
|
|
21
21
|
def encrypt_assertions(certificate)
|
22
22
|
@encrypted_assertions = []
|
23
23
|
assertions.each do |assertion|
|
24
|
-
|
24
|
+
assertion_xml = assertion.is_a?(Assertion) ? assertion.to_xml : assertion.to_s
|
25
|
+
|
26
|
+
@encrypted_assertions << Saml::Util.encrypt_assertion(assertion_xml, certificate)
|
25
27
|
end
|
26
28
|
assertions.clear
|
27
29
|
end
|
data/lib/saml/version.rb
CHANGED