client

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2016 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const AcmeURL = "https://acme-v01.api.letsencrypt.org/directory"

Variables

View Source
var AllowRenewTs = time.Duration(24 * time.Hour * 14)

Functions

This section is empty.

Types

type Client

type Client struct {
	*letsencrypt.Client
	*HTTPChallengeResponder
	// contains filtered or unexported fields
}

func New

func New(cnf *config.Config) (*Client, error)

func (*Client) Chain

func (p *Client) Chain() []byte

func (*Client) FulfillCSR

func (cli *Client) FulfillCSR(csr *x509.CertificateRequest) (*x509.Certificate, error)

func (*Client) ValidateDomainOwnership

func (cli *Client) ValidateDomainOwnership(domain string) error

type HTTPChallengeResponder

type HTTPChallengeResponder struct {
	net.Listener
	*sync.RWMutex
	// contains filtered or unexported fields
}

func NewHTTPChallengeResponder

func NewHTTPChallengeResponder(address string) (*HTTPChallengeResponder, error)

func (*HTTPChallengeResponder) ServeHTTP

func (*HTTPChallengeResponder) SetResource

func (h *HTTPChallengeResponder) SetResource(path, resource string)

Jump to

Keyboard shortcuts

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