pesign

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 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

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