cfssl

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Issuer

type Issuer struct {
	// URL specifies the URL to the CFSSL server.
	URL *url.URL
	// TLSConfig allows configuration of the TLS config
	// used when connecting to the CFSSL server.
	TLSConfig *tls.Config
	// Profile is the profile on the CFSSL server
	// that should be used. If unset, the default
	// profile will be used.
	Profile string
	// Auth optionally configures the authentication
	// that should be used.
	Auth auth.Provider
	// contains filtered or unexported fields
}

Issuer implements the Issuer interface with a Cloudflare CFSSL CA server backend.

URL is required.

func FromClient

func FromClient(v client.Remote) (*Issuer, error)

FromClient returns an Issuer using the provided CFSSL API client. Any changes to the issuers properties must be done before using it.

func (*Issuer) Issue

func (i *Issuer) Issue(ctx context.Context, commonName string, conf *certify.CertConfig) (*tls.Certificate, error)

Issue issues a certificate with the provided options.

Jump to

Keyboard shortcuts

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