Sha256: 17b59d44c3cc9ea10b21d36b31428541bb0be1cec5a63254e1cffb986a8f79fc

Contents?: true

Size: 1.1 KB

Versions: 7

Compression:

Stored size: 1.1 KB

Contents

require 'protobuf/message'

module Yoti
  module Protobuf
    module V1
      module Attrpubapi
        ##
        # Enum Classes
        #
        class ContentType < ::Protobuf::Enum
          define :UNDEFINED, 0
          define :STRING, 1
          define :JPEG, 2
          define :DATE, 3
          define :PNG, 4
        end

        ##
        # Message Classes
        #
        class Attribute < ::Protobuf::Message; end
        class Anchor < ::Protobuf::Message; end

        ##
        # Message Fields
        #
        class Attribute
          optional :string, :name, 1
          optional :bytes, :value, 2
          optional Yoti::Protobuf::V1::Attrpubapi::ContentType, :content_type, 3
          repeated Yoti::Protobuf::V1::Attrpubapi::Anchor, :anchors, 4
        end

        class Anchor
          optional :bytes, :artifact_link, 1
          repeated :bytes, :origin_server_certs, 2
          optional :bytes, :artifact_signature, 3
          optional :string, :sub_type, 4
          optional :bytes, :signature, 5
          optional :bytes, :signed_time_stamp, 6
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
yoti-1.2.1 lib/yoti/protobuf/v1/attribute_public_api/attribute.pb.rb
yoti-1.2.0 lib/yoti/protobuf/v1/attribute_public_api/attribute.pb.rb
yoti-1.1.0 lib/yoti/protobuf/v1/attribute_public_api/attribute.pb.rb
yoti-1.0.3 lib/yoti/protobuf/v1/attribute_public_api/attribute.pb.rb
yoti-1.0.2 lib/yoti/protobuf/v1/attribute_public_api/attribute.pb.rb
yoti-1.0.1 lib/yoti/protobuf/v1/attribute_public_api/attribute.pb.rb
yoti-1.0.0 lib/yoti/protobuf/v1/attribute_public_api/attribute.pb.rb