Documentation ¶
Index ¶
- type CaddyDepot
- func (cd *CaddyDepot) CA(pass []byte) ([]*x509.Certificate, *rsa.PrivateKey, error)
- func (cd *CaddyDepot) HasCN(cn string, allowTime int, cert *x509.Certificate, revokeOldCertificate bool) (bool, error)
- func (cd *CaddyDepot) Put(name string, crt *x509.Certificate) error
- func (cd *CaddyDepot) Serial() (*big.Int, error)
- type Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaddyDepot ¶
type CaddyDepot struct {
// contains filtered or unexported fields
}
func NewCaddyDepot ¶
func NewCaddyDepot(h *Handler, ca *caddypki.CA) (*CaddyDepot, error)
func (*CaddyDepot) CA ¶
func (cd *CaddyDepot) CA(pass []byte) ([]*x509.Certificate, *rsa.PrivateKey, error)
func (*CaddyDepot) HasCN ¶
func (cd *CaddyDepot) HasCN(cn string, allowTime int, cert *x509.Certificate, revokeOldCertificate bool) (bool, error)
func (*CaddyDepot) Put ¶
func (cd *CaddyDepot) Put(name string, crt *x509.Certificate) error
type Handler ¶
type Handler struct { CA string `json:"ca,omitempty"` Host string `json:"host,omitempty"` PathPrefix string `json:"path_prefix,omitempty"` // contains filtered or unexported fields }
Handler is a SCEP server handler
func (Handler) CaddyModule ¶
func (Handler) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
Click to show internal directories.
Click to hide internal directories.