package certinfo
import "github.com/cloudflare/cfssl/api/certinfo"
Package certinfo implements the HTTP handler for the certinfo command.
Index ¶
- func NewAccessorHandler(dbAccessor certdb.Accessor) http.Handler
- func NewHandler() http.Handler
- type Handler
Functions ¶
func NewAccessorHandler ¶
NewAccessorHandler creates a new bundler with database access via the certdb.Accessor interface. If this handler is constructed it will be possible to lookup certificates issued earlier by the CA.
func NewHandler ¶
NewHandler creates a new bundler that uses the root bundle and intermediate bundle in the trust chain.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler accepts requests for either remote or uploaded certificates to be bundled, and returns a certificate bundle (or error).
func (*Handler) Handle ¶
Handle implements an http.Handler interface for the bundle handler.
Source Files ¶
- Version
- v1.6.5 (latest)
- Published
- Mar 5, 2024
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 6 days ago –
Tools for package owners.