Sha256: ece5ae7675b19809e321acb842008e962bdb3cc028207273912e06dbce25cf8b

Contents?: true

Size: 635 Bytes

Versions: 17

Compression:

Stored size: 635 Bytes

Contents

xml.EncryptedAssertion xmlns: Saml::Kit::Namespaces::ASSERTION do
  xml.EncryptedData xmlns: Saml::Kit::Namespaces::XMLENC do
    xml.EncryptionMethod Algorithm: "http://www.w3.org/2001/04/xmlenc#aes256-cbc"
    xml.KeyInfo xmlns: Saml::Kit::Namespaces::XMLDSIG do
      xml.EncryptedKey xmlns: Saml::Kit::Namespaces::XMLENC do
        xml.EncryptionMethod Algorithm: "http://www.w3.org/2001/04/xmlenc#rsa-1_5"
        xml.CipherData do
          xml.CipherValue Base64.encode64(public_key.public_encrypt(key))
        end
      end
    end
    xml.CipherData do
      xml.CipherValue Base64.encode64(iv + encrypted)
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
saml-kit-0.3.0 lib/saml/kit/builders/templates/xml_encryption.builder
saml-kit-0.2.18 lib/saml/kit/builders/templates/xml_encryption.builder
saml-kit-0.2.17 lib/saml/kit/builders/templates/xml_encryption.builder
saml-kit-0.2.16 lib/saml/kit/builders/templates/xml_encryption.builder
saml-kit-0.2.15 lib/saml/kit/builders/templates/xml_encryption.builder
saml-kit-0.2.14 lib/saml/kit/builders/templates/xml_encryption.builder
saml-kit-0.2.13 lib/saml/kit/builders/templates/xml_encryption.builder
saml-kit-0.2.12 lib/saml/kit/builders/templates/xml_encryption.builder
saml-kit-0.2.11 lib/saml/kit/builders/templates/xml_encryption.builder
saml-kit-0.2.10 lib/saml/kit/builders/templates/xml_encryption.builder
saml-kit-0.2.9 lib/saml/kit/builders/templates/xml_encryption.builder
saml-kit-0.2.8 lib/saml/kit/builders/templates/xml_encryption.builder
saml-kit-0.2.7 lib/saml/kit/builders/templates/xml_encryption.builder
saml-kit-0.2.6 lib/saml/kit/builders/templates/xml_encryption.builder
saml-kit-0.2.5 lib/saml/kit/builders/templates/xml_encryption.builder
saml-kit-0.2.4 lib/saml/kit/builders/templates/xml_encryption.builder
saml-kit-0.2.3 lib/saml/kit/builders/templates/xml_encryption.builder