signer

package
v0.0.0-...-aefcfe0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SignFile

func SignFile(input, output string, s SignData, validateSignature bool) error

SignFile checks the license, waits if limits are reached, if allowed signs the file

Types

type SignData

type SignData sign.SignData

SignConfig is a SignConfig of the sign package, but with additional methods added

func (*SignData) SetCertificateChains

func (s *SignData) SetCertificateChains(crtChainPath string)

SetCertificateChains sets certificate chain settings

func (*SignData) SetPEM

func (s *SignData) SetPEM(crtPath, keyPath, crtChainPath string)

SetPEM sets specific to PEM settings

func (*SignData) SetPKSC11

func (s *SignData) SetPKSC11(libPath, pass, crtChainPath string)

SetPKSC11 sets specific to PKSC11 settings

func (*SignData) SetRevocationSettings

func (s *SignData) SetRevocationSettings()

SetRevocationSettings sets default revocation settings

Jump to

Keyboard shortcuts

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