Help us shape the future of Go! Take the 2026 Go Developer Survey

img4

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PRODUCTION  kbagType = 1
	DEVELOPMENT kbagType = 2
	DECRYPTED   kbagType = 3
)

Variables

This section is empty.

Functions

func ParseImg4

func ParseImg4(r io.Reader) (*img4, error)

Types

type BNCH

type BNCH struct {
	// contains filtered or unexported fields
}

type BORD

type BORD struct {
	// contains filtered or unexported fields
}

type CEPO

type CEPO struct {
	// contains filtered or unexported fields
}

type CHIP

type CHIP struct {
	// contains filtered or unexported fields
}

type CPRO

type CPRO struct {
	// contains filtered or unexported fields
}

type CSEC

type CSEC struct {
	// contains filtered or unexported fields
}

type ECID

type ECID struct {
	// contains filtered or unexported fields
}

type Im4p

type Im4p struct {
	Kbags []Keybag
	// contains filtered or unexported fields
}

func ParseIm4p

func ParseIm4p(r io.Reader) (*Im4p, error)

type Img4

type Img4 struct {
	Name        string
	Description string
	Manifest    manifest
	RestoreInfo restoreInfo
}

Img4 object

func Parse

func Parse(r io.Reader) (*Img4, error)

Parse parses a Img4

type KeyBags

type KeyBags struct {
	Type    string
	Version string
	Build   string
	Devices []string
	Files   []im4pKBag
}

func ParseZipKeyBags

func ParseZipKeyBags(files []*zip.File, inf *info.Info, pattern string) (*KeyBags, error)

func (KeyBags) MarshalJSON

func (kbs KeyBags) MarshalJSON() ([]byte, error)

type Keybag

type Keybag struct {
	Type kbagType
	IV   []byte
	Key  []byte
}

func (Keybag) MarshalJSON

func (k Keybag) MarshalJSON() ([]byte, error)

func (Keybag) String

func (k Keybag) String() string

type ManifestProperties

type ManifestProperties map[string]interface{}

type SDOM

type SDOM struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL