cfssl: github.com/cloudflare/cfssl/api/initca Index | Files

package initca

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

Package initca implements the HTTP handler for the CA initialization command

Index

Package Files

initca.go

func NewHandler Uses

func NewHandler() http.Handler

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

type NewCA Uses

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.

Package initca imports 8 packages (graph) and is imported by 69 packages. Updated 2019-06-30. Refresh now. Tools for package owners.