signserver

package
v0.105.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const ReferenceScheme = "signserver"

ReferenceScheme is the scheme to be used when using signserver keys. Ex: signserver://host/worker

Variables

This section is empty.

Functions

func ParseKeyReference

func ParseKeyReference(keyPath string) (string, string, error)

ParseKeyReference interprets a key reference for SignServer

Types

type Signer

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

Signer implements a signer for SignServer

func NewSigner

func NewSigner(host, worker, caPath string) *Signer

func (Signer) PublicKey

func (Signer) SignMessage

func (s Signer) SignMessage(message io.Reader, _ ...sigstoresigner.SignOption) ([]byte, error)

SignMessage Signs a message by calling to SignServer

Jump to

Keyboard shortcuts

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