pesign

package
v1.6.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package pesign implements the PE (portable executable) signing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateSigner added in v1.6.0

type CertificateSigner interface {
	Signer() crypto.Signer
	Certificate() *x509.Certificate
}

CertificateSigner is a provider of the certificate and the signer.

type Signer

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

Signer sigs PE (portable executable) files.

func NewSigner

func NewSigner(provider CertificateSigner) (*Signer, error)

NewSigner creates a new Signer.

func (*Signer) Sign

func (s *Signer) Sign(input, output string) error

Sign signs the input file and writes the output to the output file.

Jump to

Keyboard shortcuts

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