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

package crl

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

Package crl implements the HTTP handler for the crl command.

Index

Package Files

crl.go

func NewHandler Uses

func NewHandler(dbAccessor certdb.Accessor, caPath string, caKeyPath string) (http.Handler, error)

NewHandler returns a new http.Handler that handles a revoke request.

type Handler Uses

type Handler struct {
    // contains filtered or unexported fields
}

A Handler accepts requests with a serial number parameter and revokes

func (*Handler) Handle Uses

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

Handle responds to revocation requests. It attempts to revoke a certificate with a given serial number

Package crl imports 11 packages (graph) and is imported by 54 packages. Updated 2019-08-30. Refresh now. Tools for package owners.