Help us shape the future of Go! Take the 2026 Go Developer Survey

x509

package
v0.29.9 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// FilesystemTokenPath is the path to where we read an OIDC
	// token from the filesystem. This is the hard-coded value from cosign.
	// If identity.token.file is configured, this variable will be updated to match.
	// nolint
	FilesystemTokenPath = filesystem.FilesystemTokenPath
)

Functions

This section is empty.

Types

type Signer

type Signer struct {
	signature.SignerVerifier
	// contains filtered or unexported fields
}

Signer exposes methods to sign payloads.

func NewSigner

func NewSigner(ctx context.Context, secretPath string, cfg config.Config) (*Signer, error)

NewSigner returns a configured Signer

func (*Signer) Cert added in v0.3.0

func (s *Signer) Cert() string

func (*Signer) Chain added in v0.3.0

func (s *Signer) Chain() string

there is no cert or chain, return nothing

func (*Signer) Type

func (s *Signer) Type() string

Jump to

Keyboard shortcuts

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