Sha256: 4c0eaa029ba9a4aad898c680d78f42b4b8ea17b7675c333db0263e48c6e750c9

Contents?: true

Size: 665 Bytes

Versions: 1

Compression:

Stored size: 665 Bytes

Contents

require 'xmlenc/version'
require 'openssl'
require 'base64'
require 'nokogiri'

module Xmlenc
  NAMESPACES = {
      xenc: 'http://www.w3.org/2001/04/xmlenc#',
      ds:   'http://www.w3.org/2000/09/xmldsig#'
  }

  class UnsupportedError < StandardError
  end

  module Algorithms
    autoload :Rsa15, 'xmlenc/algorithms/rsa_15'
    autoload :RsaOaepMgf1p, 'xmlenc/algorithms/rsa_oaep_mgf1p'
    autoload :DES3CBC, 'xmlenc/algorithms/des3_cbc'
    autoload :AESCBC, 'xmlenc/algorithms/aes_cbc'
  end

  autoload :EncryptedDocument, 'xmlenc/encrypted_document'
  autoload :EncryptedData, 'xmlenc/encrypted_data'
  autoload :EncryptedKey, 'xmlenc/encrypted_key'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xmlenc-0.0.1 lib/xmlenc.rb