Sha256: 33c4191922d9e0ab992ec8bd25f50cffe16f7565239acfd34b685a00673a371b

Contents?: true

Size: 540 Bytes

Versions: 1

Compression:

Stored size: 540 Bytes

Contents

xml.EncryptedData xmlns: ::Xml::Kit::Namespaces::XMLENC do
  xml.EncryptionMethod Algorithm: "http://www.w3.org/2001/04/xmlenc#aes256-cbc"
  xml.KeyInfo xmlns: ::Xml::Kit::Namespaces::XMLDSIG do
    xml.EncryptedKey xmlns: ::Xml::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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xml-kit-0.1.0 lib/xml/kit/builders/templates/encryption.builder