Sha256: 23e1ab9b6505260ac129cbe529412394f40abf29effdb864453a64e3a1ede895

Contents?: true

Size: 708 Bytes

Versions: 4

Compression:

Stored size: 708 Bytes

Contents

module Keepassx
  class EntryField
    include Field

    FIELD_TYPES = [
        [0x0, 'ignored', :null],
        [0x1, 'uuid', :ascii],
        [0x2, 'groupid', :int],
        [0x3, 'imageid', :int],
        [0x4, 'title', :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]
    ]

    attr_reader :name, :data_type, :type_code

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-keepassx-0.2.2beta1 lib/keepassx/entry_field.rb
ruby-keepassx-0.2.1 lib/keepassx/entry_field.rb
ruby-keepassx-0.2.0beta11 lib/keepassx/entry_field.rb
ruby-keepassx-0.2.0 lib/keepassx/entry_field.rb