libsaml 2.1.7 → 2.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f0ad6ec3944e2e6c2656605f22859cf6de287a6
4
- data.tar.gz: 93f72e0c10f8eeae202a550f25b607ca7c6518b9
3
+ metadata.gz: 4b06039fbf831d7a4f5d0f3950080e012ab15a04
4
+ data.tar.gz: f72bcd2766e407ac64df7d826caa791e55153863
5
5
  SHA512:
6
- metadata.gz: 199243697919b1cbc4676c75bd54822feec568b567551640729e1774e229a06748338be453d5fdae013722ca0f7d771f49fb15e08150707fc9ff38c8348ee741
7
- data.tar.gz: e32fef49de53c91fa57d3d5fccb670ae1457d7d5a03caddc61fd2e3bc016e637b8e2bdd58702ee67687780edc0f4d6f0a4824e924f09781adf2c1df23233de7b
6
+ metadata.gz: 8bfe8a831762af0b2eba657fa1aca09c10df85c2b222a8544e1f747a559992a4ce5366b76adb43aae8b81a717cc29291a893681f9e9845c34c93cd62f47d8b7c
7
+ data.tar.gz: 870dce6f4a6a513179bcc469b9fb84350785117f5360684bc328ec971c77d422089539a35c9e03606839ef87a4f068a2ff1cf2346320be34ecea615eb28962da
@@ -18,6 +18,14 @@ module Saml
18
18
  !success? && status.status_code.no_authn_context?
19
19
  end
20
20
 
21
+ def encrypt_assertions(certificate)
22
+ @encrypted_assertions = []
23
+ assertions.each do |assertion|
24
+ @encrypted_assertions << Saml::Util.encrypt_assertion(assertion.to_xml, certificate)
25
+ end
26
+ assertions.clear
27
+ end
28
+
21
29
  def assertion
22
30
  assertions.first
23
31
  end
@@ -1,3 +1,3 @@
1
1
  module Saml
2
- VERSION = "2.1.7"
2
+ VERSION = "2.1.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libsaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.7
4
+ version: 2.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoist Claassen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-21 00:00:00.000000000 Z
11
+ date: 2014-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport