package sign

import "github.com/cloudflare/cfssl/api/sign"

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

Index

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.

Source Files

sign.go

Version
v1.6.5 (latest)
Published
Mar 5, 2024
Platform
linux/amd64
Imports
5 packages
Last checked
6 days ago

Tools for package owners.