package crl

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

Package crl implements the HTTP handler for the crl command.

Index

Functions

func NewHandler

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

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

Types

type Handler

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

A Handler accepts requests with a serial number parameter and revokes

func (*Handler) Handle

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

Source Files

crl.go

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

Tools for package owners.