lib/rsaml/assertion.rb
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
# Construct an XML fragment representing the encrypted assertion
Construct an XML fragment representing the encrypted assertion
Construct an XML fragment representing the encrypted assertion
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
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
Construct an XML fragment representing the encrypted assertion
Construct an XML fragment representing the encrypted assertion
xml
new