diff options
Diffstat (limited to 'lib/saml/kit/assertion.rb')
| -rw-r--r-- | lib/saml/kit/assertion.rb | 2 |
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 |
