Discover Packages
github.com/adieu/cfssl
api
ocsp
package
Version:
v0.0.0-...-921801e
Opens a new window with list of versions in this module.
Published: Jan 22, 2016
License: BSD-2-Clause
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package ocsp implements the HTTP handler for the ocsp commands.
NewHandler returns a new http.Handler that handles a ocspsign request.
A Handler accepts requests with a certficate parameter
(which should be PEM-encoded) and returns a signed ocsp
response.
func (*Handler) Handle ¶
Handle responds to requests for a ocsp signature. It creates and signs
a ocsp response for the provided certificate and status. If the status
is revoked then it also adds reason and revoked_at. The response is
base64 encoded.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.