package sign
import "github.com/cloudflare/cfssl/api/sign"
Package sign implements the HTTP handler for the certificate signing command.
Index ¶
- func NewAuthHandler(caFile, caKeyFile string, policy *config.Signing) (http.Handler, error)
- func NewHandler(caFile, caKeyFile string, policy *config.Signing) (http.Handler, error)
Functions ¶
func NewAuthHandler ¶
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 ¶
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 ¶
- Version
- v1.6.5 (latest)
- Published
- Mar 5, 2024
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 6 days ago –
Tools for package owners.