Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Notarize ¶
func Notarize(path string, cfg NotarizeConfig) (notary.SubmissionStatus, error)
func SetBus ¶
SetBus sets the event bus for all library bus publish events onto (in-library subscriptions are not allowed).
func Sign ¶
func Sign(cfg SigningConfig) error
Types ¶
type NotarizeConfig ¶
type NotarizeConfig struct {
StatusConfig notary.StatusConfig
HTTPTimeout time.Duration
TokenConfig notary.TokenConfig
}
func NewNotarizeConfig ¶
func NewNotarizeConfig(issuer, privateKeyID, privateKey string) *NotarizeConfig
func (*NotarizeConfig) WithStatusConfig ¶
func (c *NotarizeConfig) WithStatusConfig(cfg notary.StatusConfig) *NotarizeConfig
type SigningConfig ¶
type SigningConfig struct {
SigningMaterial pki.SigningMaterial
Identity string
Path string
Entitlements string
}
func NewSigningConfigFromP12 ¶
func NewSigningConfigFromP12(binaryPath string, p12Content load.P12Contents, failWithoutFullChain bool) (*SigningConfig, error)
func NewSigningConfigFromPEMs ¶
func NewSigningConfigFromPEMs(binaryPath, certificate, privateKey, password string, failWithoutFullChain bool) (*SigningConfig, error)
func (*SigningConfig) WithEntitlements ¶ added in v0.4.2
func (c *SigningConfig) WithEntitlements(path string) *SigningConfig
func (*SigningConfig) WithIdentity ¶
func (c *SigningConfig) WithIdentity(id string) *SigningConfig
func (*SigningConfig) WithTimestampServer ¶
func (c *SigningConfig) WithTimestampServer(url string) *SigningConfig
Directories
¶
| Path | Synopsis |
|---|---|
|
Package event provides event types for all events that the library published onto the event bus.
|
Package event provides event types for all events that the library published onto the event bus. |
|
Package macho provides functionality for reading and modifying Mach-O binaries.
|
Package macho provides functionality for reading and modifying Mach-O binaries. |
|
apple/internal/generate
command
|
|
Click to show internal directories.
Click to hide internal directories.