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

package revoke

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

Package revoke implements the HTTP handler for the revoke command

Index

Package Files

revoke.go

func NewHandler Uses

func NewHandler(dbAccessor certdb.Accessor) http.Handler

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

func NewOCSPHandler Uses

func NewOCSPHandler(dbAccessor certdb.Accessor, signer ocsp.Signer) http.Handler

NewOCSPHandler returns a new http.Handler that handles a revoke request and also generates an OCSP response

type Handler Uses

type Handler struct {
    Signer ocsp.Signer
    // 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 revoke imports 10 packages (graph) and is imported by 51 packages. Updated 2018-03-22. Refresh now. Tools for package owners.