applenotarization

package
v0.11.26 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package applenotarization is a wrapper around the apple notarization tools.

It supports submitting to apple, and recording the uuid. As well as checking on the status.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Staple

func Staple(ctx context.Context)

Types

type Notarizer

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

func New

func New(
	username string,
	password string,
	account string,
) *Notarizer

func (*Notarizer) Check

func (n *Notarizer) Check(ctx context.Context, uuid string) (string, error)

Check the notarization status of a uuid

func (*Notarizer) Submit

func (n *Notarizer) Submit(ctx context.Context, filePath string, primaryBundleId string) (string, error)

Submit an file to apple's notarization service. Returns the uuid of the submission

Jump to

Keyboard shortcuts

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