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

x509

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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(secretPath string, cfg config.Config, logger *zap.SugaredLogger) (*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