Sha256: bff2b167d88f22ec2b8eb3f9fc77e0336ef237a524bac1253972dcfdc288a839

Contents?: true

Size: 982 Bytes

Versions: 2

Compression:

Stored size: 982 Bytes

Contents

# frozen_string_literal: true

module Keepassx
  module Field
    class Entry < Base

      # rubocop:disable Metrics/MethodLength
      def self.fields_description
        @fields_description ||= [
          [0x0, 'ignored',         :null],
          [0x1, 'id',              :ascii],
          [0x2, 'group_id',        :int],
          [0x3, 'icon',            :int],
          [0x4, 'name',            :string],
          [0x5, 'url',             :string],
          [0x6, 'username',        :string],
          [0x7, 'password',        :string],
          [0x8, 'notes',           :string],
          [0x9, 'creation_time',   :date],
          [0xa, 'last_mod_time',   :date],
          [0xb, 'last_acc_time',   :date],
          [0xc, 'expiration_time', :date],
          [0xd, 'binary_desc',     :string],
          [0xe, 'binary_data',     :shunt],
          [0xFFFF, 'terminator',   :null],
        ]
      end
      # rubocop:enable Metrics/MethodLength

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
keepassx-1.1.0 lib/keepassx/field/entry.rb
keepassx-1.0.0 lib/keepassx/field/entry.rb