lib/rsaml/attribute.rb
# Construct an XML fragment representing the encrypted attribute
Construct an XML fragment representing the encrypted attribute
Construct an XML fragment representing the encrypted attribute
def to_xml(xml=Builder::XmlMarkup.new)
      xml.tag!('saml:EncryptedAttribute') {
        xml.tag!('xenc:EncryptedData', encrypted_data)
        encrypted_keys.each { |key| xml << key.to_xml }
      }
    end
def to_xml ( xml = Builder :: XmlMarkup . new ) xml . tag! ( 'saml:EncryptedAttribute' ) { xml . tag! ( 'xenc:EncryptedData' , encrypted_data ) encrypted_keys . each { | key | xml << key . to_xml } } end
Construct an XML fragment representing the encrypted attribute
Construct an XML fragment representing the encrypted attribute
xml
new