Documentation
¶
Index ¶
- Constants
- type WebFrontEndImpl
- func (wfe *WebFrontEndImpl) Authz(ctx context.Context, response http.ResponseWriter, request *http.Request)
- func (wfe *WebFrontEndImpl) Certificate(ctx context.Context, response http.ResponseWriter, request *http.Request)
- func (wfe *WebFrontEndImpl) Challenge(ctx context.Context, response http.ResponseWriter, request *http.Request)
- func (wfe *WebFrontEndImpl) Directory(ctx context.Context, response http.ResponseWriter, request *http.Request)
- func (wfe *WebFrontEndImpl) FinalizeOrder(ctx context.Context, response http.ResponseWriter, request *http.Request)
- func (wfe *WebFrontEndImpl) HandleFunc(mux *http.ServeMux, pattern string, handler wfeHandlerFunc, methods ...string)
- func (wfe *WebFrontEndImpl) HandleManagementFunc(mux *http.ServeMux, pattern string, handler wfeHandlerFunc)
- func (wfe *WebFrontEndImpl) Handler() http.Handler
- func (wfe *WebFrontEndImpl) KeyRollover(ctx context.Context, response http.ResponseWriter, request *http.Request)
- func (wfe *WebFrontEndImpl) ListOrders(ctx context.Context, response http.ResponseWriter, request *http.Request)
- func (wfe *WebFrontEndImpl) ManagementHandler() http.Handler
- func (wfe *WebFrontEndImpl) NewAccount(ctx context.Context, response http.ResponseWriter, request *http.Request)
- func (wfe *WebFrontEndImpl) NewOrder(ctx context.Context, response http.ResponseWriter, request *http.Request)
- func (wfe *WebFrontEndImpl) Nonce(ctx context.Context, response http.ResponseWriter, request *http.Request)
- func (wfe *WebFrontEndImpl) Order(ctx context.Context, response http.ResponseWriter, request *http.Request)
- func (wfe *WebFrontEndImpl) RevokeCert(ctx context.Context, response http.ResponseWriter, request *http.Request)
- func (wfe *WebFrontEndImpl) UpdateAccount(ctx context.Context, response http.ResponseWriter, request *http.Request)
Constants ¶
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/" )
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) WebFrontEndImpl
func (*WebFrontEndImpl) Authz ¶
func (wfe *WebFrontEndImpl) Authz( ctx context.Context, response http.ResponseWriter, request *http.Request)
func (*WebFrontEndImpl) Certificate ¶
func (wfe *WebFrontEndImpl) Certificate( ctx context.Context, response http.ResponseWriter, request *http.Request)
func (*WebFrontEndImpl) Challenge ¶
func (wfe *WebFrontEndImpl) Challenge( ctx context.Context, response http.ResponseWriter, request *http.Request)
func (*WebFrontEndImpl) Directory ¶
func (wfe *WebFrontEndImpl) Directory( ctx context.Context, response http.ResponseWriter, request *http.Request)
func (*WebFrontEndImpl) FinalizeOrder ¶
func (wfe *WebFrontEndImpl) FinalizeOrder( ctx 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( ctx context.Context, response http.ResponseWriter, request *http.Request)
func (*WebFrontEndImpl) ListOrders ¶
func (wfe *WebFrontEndImpl) ListOrders( ctx 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( ctx context.Context, response http.ResponseWriter, request *http.Request)
func (*WebFrontEndImpl) NewOrder ¶
func (wfe *WebFrontEndImpl) NewOrder( ctx 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( ctx context.Context, response http.ResponseWriter, request *http.Request)
func (*WebFrontEndImpl) Order ¶
func (wfe *WebFrontEndImpl) Order( ctx context.Context, response http.ResponseWriter, request *http.Request)
Order retrieves the details of an existing order
func (*WebFrontEndImpl) RevokeCert ¶
func (wfe *WebFrontEndImpl) RevokeCert( ctx 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( ctx context.Context, response http.ResponseWriter, request *http.Request)