wfe

package
v0.0.0-...-b20fc4b Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2015 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NewRegPath     = "/acme/new-reg"
	RegPath        = "/acme/reg/"
	NewAuthzPath   = "/acme/new-authz"
	AuthzPath      = "/acme/authz/"
	NewCertPath    = "/acme/new-cert"
	CertPath       = "/acme/cert/"
	RevokeCertPath = "/acme/revoke-cert/"
	TermsPath      = "/terms"
	IssuerPath     = "/acme/issuer-cert"
	BuildIDPath    = "/build"
)
View Source
const (
	MalformedProblem      = ProblemType("urn:acme:error:malformed")
	UnauthorizedProblem   = ProblemType("urn:acme:error:unauthorized")
	ServerInternalProblem = ProblemType("urn:acme:error:serverInternal")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ProblemType

type ProblemType string

ProblemType objects represent problem documents, which are returned with HTTP error responses https://tools.ietf.org/html/draft-ietf-appsawg-http-problem-00

type WebFrontEndImpl

type WebFrontEndImpl struct {
	RA    core.RegistrationAuthority
	SA    core.StorageGetter
	Stats statsd.Statter

	// URL configuration parameters
	BaseURL   string
	NewReg    string
	RegBase   string
	NewAuthz  string
	AuthzBase string
	NewCert   string
	CertBase  string

	// Issuer certificate (DER) for /acme/issuer-cert
	IssuerCert []byte

	// URL to the current subscriber agreement (should contain some version identifier)
	SubscriberAgreementURL string
	// contains filtered or unexported fields
}

WebFrontEndImpl represents a Boulder web service and its resources

func NewWebFrontEndImpl

func NewWebFrontEndImpl() WebFrontEndImpl

NewWebFrontEndImpl constructs a web service for Boulder

func (*WebFrontEndImpl) Authorization

func (wfe *WebFrontEndImpl) Authorization(response http.ResponseWriter, request *http.Request)

func (*WebFrontEndImpl) BuildID

func (wfe *WebFrontEndImpl) BuildID(response http.ResponseWriter, request *http.Request)

BuildID tells the requestor what build we're running.

func (*WebFrontEndImpl) Certificate

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

func (*WebFrontEndImpl) Challenge

func (wfe *WebFrontEndImpl) Challenge(authz core.Authorization, response http.ResponseWriter, request *http.Request)

func (*WebFrontEndImpl) HandlePaths

func (wfe *WebFrontEndImpl) HandlePaths()

func (*WebFrontEndImpl) Index

func (wfe *WebFrontEndImpl) Index(response http.ResponseWriter, request *http.Request)

func (*WebFrontEndImpl) Issuer

func (wfe *WebFrontEndImpl) Issuer(response http.ResponseWriter, request *http.Request)

func (*WebFrontEndImpl) NewAuthorization

func (wfe *WebFrontEndImpl) NewAuthorization(response http.ResponseWriter, request *http.Request)

func (*WebFrontEndImpl) NewCertificate

func (wfe *WebFrontEndImpl) NewCertificate(response http.ResponseWriter, request *http.Request)

func (*WebFrontEndImpl) NewRegistration

func (wfe *WebFrontEndImpl) NewRegistration(response http.ResponseWriter, request *http.Request)

func (*WebFrontEndImpl) Registration

func (wfe *WebFrontEndImpl) Registration(response http.ResponseWriter, request *http.Request)

func (*WebFrontEndImpl) RevokeCertificate

func (wfe *WebFrontEndImpl) RevokeCertificate(response http.ResponseWriter, request *http.Request)

func (*WebFrontEndImpl) Terms

func (wfe *WebFrontEndImpl) Terms(response http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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