class MachO::LoadCommands::EncryptionInfoCommand

A load command representing the offset to and size of an encrypted segment. Corresponds to LC_ENCRYPTION_INFO.

Constants

FORMAT

@see MachOStructure::FORMAT @api private

SIZEOF

@see MachOStructure::SIZEOF @api private

Attributes

cryptid[R]

@return [Fixnum] the encryption system, or 0 if not encrypted yet

cryptoff[R]

@return [Fixnum] the offset to the encrypted segment

cryptsize[R]

@return [Fixnum] the size of the encrypted segment

Public Class Methods

new(view, cmd, cmdsize, cryptoff, cryptsize, cryptid) click to toggle source

@api private

Calls superclass method MachO::LoadCommands::LoadCommand.new
# File lib/macho/load_commands.rb, line 1033
def initialize(view, cmd, cmdsize, cryptoff, cryptsize, cryptid)
  super(view, cmd, cmdsize)
  @cryptoff = cryptoff
  @cryptsize = cryptsize
  @cryptid = cryptid
end