Method: Saml::Response#decrypt_assertions

Defined in:
lib/saml/response.rb

#decrypt_assertions(private_key) ⇒ Object



43
44
45
46
47
48
49
# File 'lib/saml/response.rb', line 43

def decrypt_assertions(private_key)
  @assertions ||= []
  encrypted_assertions.each do |encrypted_assertion|
    @assertions << Saml::Util.decrypt_assertion(encrypted_assertion, private_key)
  end
  encrypted_assertions.clear
end