revoke

package
v0.0.0-...-82fc38d Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2017 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package revoke implements the HTTP handler for the revoke command

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(dbAccessor certdb.Accessor) http.Handler

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