wfe

package
v2.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2024 License: MPL-2.0 Imports: 34 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// Note: We deliberately pick endpoint paths that differ from Boulder to
	// exercise clients processing of the /directory response
	// We export the DirectoryPath so that the pebble binary can reference it
	DirectoryPath = "/dir"

	// Theses entrypoints are not a part of the standard ACME endpoints,
	// and are exposed by Pebble as an integration test tool. We export
	// RootCertPath so that the pebble binary can reference it.
	RootCertPath = "/roots/"
)
View Source
const ToSURL = "data:text/plain,Do%20what%20thou%20wilt"

Variables

This section is empty.

Functions

This section is empty.

Types

type WebFrontEndImpl

type WebFrontEndImpl struct {
	// contains filtered or unexported fields
}

func New

func New(
	log *log.Logger,
	db *db.MemoryStore,
	va *va.VAImpl,
	ca *ca.CAImpl,
	strict, requireEAB bool, retryAfterAuthz int, retryAfterOrder int,
) WebFrontEndImpl

func (*WebFrontEndImpl) Authz

func (wfe *WebFrontEndImpl) Authz(
	_ context.Context,
	response http.ResponseWriter,
	request *http.Request,
)

func (*WebFrontEndImpl) Certificate

func (wfe *WebFrontEndImpl) Certificate(
	_ context.Context,
	response http.ResponseWriter,
	request *http.Request,
)

func (*WebFrontEndImpl) Challenge

func (wfe *WebFrontEndImpl) Challenge(
	_ context.Context,
	response http.ResponseWriter,
	request *http.Request,
)

func (*WebFrontEndImpl) Directory

func (wfe *WebFrontEndImpl) Directory(
	_ context.Context,
	response http.ResponseWriter,
	request *http.Request,
)

func (*WebFrontEndImpl) FinalizeOrder

func (wfe *WebFrontEndImpl) FinalizeOrder(
	_ context.Context,
	response http.ResponseWriter,
	request *http.Request,
)

func (*WebFrontEndImpl) HandleFunc

func (wfe *WebFrontEndImpl) HandleFunc(
	mux *http.ServeMux,
	pattern string,
	handler wfeHandlerFunc,
	methods ...string,
)

func (*WebFrontEndImpl) HandleManagementFunc

func (wfe *WebFrontEndImpl) HandleManagementFunc(
	mux *http.ServeMux,
	pattern string,
	handler wfeHandlerFunc,
)

func (*WebFrontEndImpl) Handler

func (wfe *WebFrontEndImpl) Handler() http.Handler

func (*WebFrontEndImpl) KeyRollover

func (wfe *WebFrontEndImpl) KeyRollover(
	_ context.Context,
	response http.ResponseWriter,
	request *http.Request,
)

func (*WebFrontEndImpl) ListOrders

func (wfe *WebFrontEndImpl) ListOrders(
	_ context.Context,
	response http.ResponseWriter,
	request *http.Request,
)

func (*WebFrontEndImpl) ManagementHandler

func (wfe *WebFrontEndImpl) ManagementHandler() http.Handler

ManagementHandler handles the endpoints exposed on the management interface that is configured by the `managementListenAddress` parameter in Pebble JSON config file.

func (*WebFrontEndImpl) NewAccount

func (wfe *WebFrontEndImpl) NewAccount(
	_ context.Context,
	response http.ResponseWriter,
	request *http.Request,
)

func (*WebFrontEndImpl) NewOrder

func (wfe *WebFrontEndImpl) NewOrder(
	_ context.Context,
	response http.ResponseWriter,
	request *http.Request,
)

NewOrder creates a new Order request and populates its authorizations

func (*WebFrontEndImpl) Nonce

func (wfe *WebFrontEndImpl) Nonce(
	_ context.Context,
	response http.ResponseWriter,
	request *http.Request,
)

func (*WebFrontEndImpl) Order

func (wfe *WebFrontEndImpl) Order(
	_ context.Context,
	response http.ResponseWriter,
	request *http.Request,
)

Order retrieves the details of an existing order

func (*WebFrontEndImpl) RevokeCert

func (wfe *WebFrontEndImpl) RevokeCert(
	_ context.Context,
	response http.ResponseWriter,
	request *http.Request,
)

RevokeCert revokes an ACME certificate. It currently only implements one method of ACME revocation: Signing the revocation request by signing it with the certificate to be revoked's private key and embedding the certificate to be revoked's public key as a JWK in the JWS.

Pebble's idea of certificate revocation is to forget the certificate exists. This method does not percolate to a CRL or an OCSP response.

func (*WebFrontEndImpl) UpdateAccount

func (wfe *WebFrontEndImpl) UpdateAccount(
	_ context.Context,
	response http.ResponseWriter,
	request *http.Request,
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL