sign

package
v0.0.0-...-7bb4731 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2018 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package sign implements the HTTP handler for the certificate signing command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthHandler

func NewAuthHandler(caFile, caKeyFile string, policy *config.Signing) (http.Handler, error)

NewAuthHandler generates a new AuthHandler using the certificate authority private key and certficate to sign certificates. If remote is not an empty string, the handler will send signature requests to the CFSSL instance contained in remote by default.

func NewHandler

func NewHandler(caFile, caKeyFile string, policy *config.Signing) (http.Handler, error)

NewHandler generates a new Handler using the certificate authority private key and certficate to sign certificates. If remote is not an empty string, the handler will send signature requests to the CFSSL instance contained in remote by default.

Types

This section is empty.

Jump to

Keyboard shortcuts

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