Sha256: ca19ab6e430da4f2cee328fda64b64bb33a75486da72af3fa5de7b7b09fc066d

Contents?: true

Size: 1.51 KB

Versions: 12

Compression:

Stored size: 1.51 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 Error < StandardError; end
  class UnsupportedError < Error; end
  class UnparseableMessage < Error; end
  class EncryptedDataNotFound < Error; 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

12 entries across 12 versions & 1 rubygems

Version Path
xmlenc-0.7.1 lib/xmlenc.rb
xmlenc-0.7.0 lib/xmlenc.rb
xmlenc-0.6.9 lib/xmlenc.rb
xmlenc-0.6.8 lib/xmlenc.rb
xmlenc-0.6.6 lib/xmlenc.rb
xmlenc-0.6.5 lib/xmlenc.rb
xmlenc-0.6.4 lib/xmlenc.rb
xmlenc-0.6.3 lib/xmlenc.rb
xmlenc-0.6.2 lib/xmlenc.rb
xmlenc-0.6.1 lib/xmlenc.rb
xmlenc-0.6.0 lib/xmlenc.rb
xmlenc-0.5.0 lib/xmlenc.rb