Discover Packages
github.com/tosie/cfssl
api
ocsp
package
Version:
v1.4.2-0...-364ecd5
Opens a new window with list of versions in this module.
Published: Aug 16, 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.