summaryrefslogtreecommitdiff
path: root/lib/saml/kit/assertion.rb
diff options
context:
space:
mode:
authormo <mo.khan@gmail.com>2017-12-30 14:05:40 -0700
committermo <mo.khan@gmail.com>2017-12-30 14:05:40 -0700
commitbb2ecd1a593ad07ef92f888699bb2eb004aa52d8 (patch)
tree2b4809824a5bbce0afa95d6f08e2c201a540db03 /lib/saml/kit/assertion.rb
parent444672b5e016c56756b98b4410be90588408f26b (diff)
bump to latest xml-kit.v0.3.2
Diffstat (limited to 'lib/saml/kit/assertion.rb')
-rw-r--r--lib/saml/kit/assertion.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/saml/kit/assertion.rb b/lib/saml/kit/assertion.rb
index 40f567c..5299bc3 100644
--- a/lib/saml/kit/assertion.rb
+++ b/lib/saml/kit/assertion.rb
@@ -76,7 +76,7 @@ module Saml
if encrypted?
private_keys = configuration.private_keys(use: :encryption)
decryptor = ::Xml::Kit::Decryption.new(private_keys: private_keys)
- decrypted = decryptor.decrypt(@xml_hash['Response']['EncryptedAssertion'])
+ decrypted = decryptor.decrypt_hash(@xml_hash['Response']['EncryptedAssertion'])
Saml::Kit.logger.debug(decrypted)
Hash.from_xml(decrypted)['Assertion']
else