package initca

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

Package initca implements the HTTP handler for the CA initialization command

Index

Functions

func NewHandler

func NewHandler() http.Handler

NewHandler returns a new http.Handler that handles request to initialize a CA.

Types

type NewCA

type NewCA struct {
	Key  string `json:"private_key"`
	Cert string `json:"certificate"`
}

A NewCA contains a private key and certificate suitable for serving as the root key for a new certificate authority.

Source Files

initca.go

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

Tools for package owners.