Class: RSAML::EncryptedAssertion
- Defined in:
- lib/rsaml/assertion.rb
Overview
An encrypted assertion
Instance Attribute Summary
Attributes inherited from Encrypted
Instance Method Summary collapse
-
#to_xml(xml = Builder::XmlMarkup.new) ⇒ Object
Construct an XML fragment representing the encrypted assertion.
Methods inherited from Encrypted
Instance Method Details
#to_xml(xml = Builder::XmlMarkup.new) ⇒ Object
Construct an XML fragment representing the encrypted assertion
63 64 65 66 67 68 |
# File 'lib/rsaml/assertion.rb', line 63 def to_xml(xml=Builder::XmlMarkup.new) xml.tag!('saml:EncryptedAssertion') { xml.tag!('xenc:EncryptedData', encrypted_data) encrypted_keys.each { |key| xml << encrypted_key.to_xml } } end |