cfssl: Index | Files

package bundle

import ""

Package bundle implements the HTTP handler for the bundle command.


Package Files


func NewHandler Uses

func NewHandler(caBundleFile, intBundleFile string) (http.Handler, error)

NewHandler creates a new bundler that uses the root bundle and intermediate bundle in the trust chain.

type Handler Uses

type Handler struct {
    // contains filtered or unexported fields

Handler accepts requests for either remote or uploaded certificates to be bundled, and returns a certificate bundle (or error).

func (*Handler) Handle Uses

func (h *Handler) Handle(w http.ResponseWriter, r *http.Request) error

Handle implements an http.Handler interface for the bundle handler.

Package bundle imports 5 packages (graph) and is imported by 69 packages. Updated 2020-11-25. Refresh now. Tools for package owners.