ioshelper

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2018 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAndEncodeDevFolder

func GetAndEncodeDevFolder(t *testing.T) map[string]string

func GetZipAndPw

func GetZipAndPw(t *testing.T) (zipdata []byte, pw string)

func UnpackAppleDevAccount

func UnpackAppleDevAccount(zipBytes []byte, devProfilePw string) ([]byte, error)

UnpackAppleDevAccount will take in the byte array of a sent zip file, assign each value to the appropriate fields in AppleKeychain, and return the marshalaled json

Types

type AppleKeychain

type AppleKeychain struct {
	// PrivateKeys are the *.p12 extensions
	PrivateKeys map[string]string `json:"privateKeys,omitempty"`
	// MobileProvisions are the *.mobileprovision files
	MobileProvisions map[string]string `json:"mobileProvisions,omitempty"`
	// DevProfilePassword is the password you entered when you exported the account
	DevProfilePassword string `json:"devProfilePassword,omitempty"`
	// contains filtered or unexported fields
}

appleKeychain holds the identities for ever added apple developer profile

func NewKeychain

func NewKeychain() *AppleKeychain

func (*AppleKeychain) GetSecretsFromZip

func (a *AppleKeychain) GetSecretsFromZip(profileReadre SizeReader, profPass string) error

type SizeReader

type SizeReader interface {
	io.ReaderAt
	Size() int64
}

Jump to

Keyboard shortcuts

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