Class: Pliney::AppleCodeSignature::OpaqueBlob

Inherits:
Blob
  • Object
show all
Defined in:
lib/pliney/apple_code_signature.rb

Instance Attribute Summary collapse

Attributes inherited from Blob

#input, #magic, #size

Instance Method Summary collapse

Methods inherited from Blob

#initialize

Constructor Details

This class inherits a constructor from Pliney::AppleCodeSignature::Blob

Instance Attribute Details

#baseObject (readonly)

Returns the value of attribute base.



46
47
48
# File 'lib/pliney/apple_code_signature.rb', line 46

def base
  @base
end

#dataObject (readonly)

Returns the value of attribute data.



46
47
48
# File 'lib/pliney/apple_code_signature.rb', line 46

def data
  @data
end

Instance Method Details

#parseObject



47
48
49
50
51
# File 'lib/pliney/apple_code_signature.rb', line 47

def parse
    super() do
        @data = rest()
    end
end