summaryrefslogtreecommitdiff
path: root/lib/xml/kit/key_info/retrieval_method.rb
blob: 109f56624cd7fb5926026d3bcc9e2a9ead155a0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

module Xml
  module Kit
    class KeyInfo
      # An implementation of the RSAKeyValue element.
      # https://www.w3.org/TR/xmldsig-core1/#sec-RetrievalMethod
      #
      # @since 0.3.0
      class RetrievalMethod
        attr_accessor :uri, :type

        def initialize
          @type = "#{Namespaces::XMLENC}EncryptedKey"
        end
      end
    end
  end
end