Discover Packages
github.com/Jchicode/cfssl
api
ocsp
package
Version:
v1.5.1-0...-956f000
Opens a new window with list of versions in this module.
Published: May 17, 2021
License: BSD-2-Clause
Opens a new window with license information.
Imports: 11
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.