crl

package
v1.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: BSD-2-Clause Imports: 11 Imported by: 58

Documentation

Overview

Package crl implements the HTTP handler for the crl command.

Index

Constants

This section is empty.

Variables

This section is empty.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL