Sha256: 62098d0edc113e95c192fe7d422920488d21762567460ec65730fd9d8d79d958

Contents?: true

Size: 1.45 KB

Versions: 2

Compression:

Stored size: 1.45 KB

Contents

require 'active_support/all'
require 'active_model'
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

  class UnparseableMessage < StandardError
  end

  module Builder
    autoload :Base, 'xmlenc/builder/base'
    autoload :EncryptedData, 'xmlenc/builder/encrypted_data'
    autoload :EncryptionMethod, 'xmlenc/builder/encryption_method'
    autoload :EncryptedKey, 'xmlenc/builder/encrypted_key'
    autoload :KeyInfo, 'xmlenc/builder/key_info'
    autoload :CipherData, 'xmlenc/builder/cipher_data'
    autoload :DigestMethod, 'xmlenc/builder/digest_method'
    autoload :ReferenceList, 'xmlenc/builder/reference_list'
    autoload :DataReference, 'xmlenc/builder/data_reference'
    autoload :RetrievalMethod, 'xmlenc/builder/retrieval_method'

    module ComplexTypes
      autoload :EncryptedType, 'xmlenc/builder/complex_types/encrypted_type'
    end
  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

2 entries across 2 versions & 1 rubygems

Version Path
xmlenc-0.4.1 lib/xmlenc.rb
xmlenc-0.4.0 lib/xmlenc.rb