Class: MooTool::Models::IMG4::FirmwareEntry

Inherits:
PropertySequence show all
Defined in:
lib/mootool/models/img4/firmware_entry.rb

Overview

A structured instance of a firmware entry tag. These entries always have a DGST for the hash of the payload.

Constant Summary

Constants included from Helpers::IMG4

Helpers::IMG4::DECODE_TAGS, Helpers::IMG4::FIRMWARE_TAGS, Helpers::IMG4::HASH_LENGTHS, Helpers::IMG4::KEY_INSTANCE_TAGS, Helpers::IMG4::KVP_TAGS, Helpers::IMG4::OCTET_TAGS, Helpers::IMG4::SEQUENCE_TAGS, Helpers::IMG4::SIGNATURE_TAGS

Instance Attribute Summary

Attributes inherited from PropertySequence

#key, #value

Instance Method Summary collapse

Methods inherited from PropertySequence

#initialize, #inspect

Methods included from Helpers::IMG4

#construct, #construct_object, #decode_construct, parse_4cc

Constructor Details

This class inherits a constructor from MooTool::Models::IMG4::PropertySequence

Instance Method Details

#to_hObject



7
8
9
# File 'lib/mootool/models/img4/firmware_entry.rb', line 7

def to_h
  { @key => self }
end