signer

package
v0.0.0-...-e4eaa00 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTemporary = errors.New("Temporary Error")

ErrTemporary should be wrapped by any temporary errors returned by implementations of Signer so that the caller can know whether to retry.

Functions

This section is empty.

Types

type Signer

type Signer interface {
	// Sign makes a request to process a certificate signing request and returns
	// a pickup ID which can be used later in Pickup
	Sign(csr capi.CertificateSigningRequest) (pickupID string, err error)
	// Pickup retrieves the signed certificate data corresponding to the
	// supplied pickup ID.
	// May return an error wrapping ErrTemporary, in which case the called
	// should retry the Pickup with the same pickupID.
	Pickup(pickupID string) (certificate []byte, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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