Sha256: d1ea14840be184830b73c2c9e004074afb1b1a2147e6ad57d6bac725a57984fb

Contents?: true

Size: 391 Bytes

Versions: 14

Compression:

Stored size: 391 Bytes

Contents

module Xmlenc
  module Builder
    class RetrievalMethod
      include Xmlenc::Builder::Base

      tag "RetrievalMethod"

      register_namespace 'ds', Xmlenc::NAMESPACES[:ds]
      namespace 'ds'

      attribute :type, String, :tag => "Type"
      attribute :uri, String, :tag => "URI"

      def type
        'http://www.w3.org/2001/04/xmlenc#EncryptedKey'
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

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