Documentation ¶
Index ¶
- type Acme
- func (a *Acme) AuthorizeUsingHttp(domain string) (string, string, string, string, bool, error)
- func (a *Acme) AuthorizeUsingHttpAccept(domain string) error
- func (a *Acme) CreateCSR(domains []string, key *rsa.PrivateKey) ([]byte, error)
- func (a *Acme) CreateCert(csr []byte) ([][]byte, string, error)
- func (a *Acme) GetLeafAndValidateCert(domain string, der [][]byte, key *rsa.PrivateKey) (leaf *x509.Certificate, bundle []*x509.Certificate, err error)
- func (a *Acme) Register() error
- func (a *Acme) WaitForAuthz(domain, uri string) (bool, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Acme ¶
type Acme struct {
// contains filtered or unexported fields
}
func (*Acme) AuthorizeUsingHttp ¶
func (*Acme) AuthorizeUsingHttpAccept ¶
func (*Acme) GetLeafAndValidateCert ¶
func (a *Acme) GetLeafAndValidateCert(domain string, der [][]byte, key *rsa.PrivateKey) (leaf *x509.Certificate, bundle []*x509.Certificate, err error)
type Config ¶
type Config struct { AccountKey *rsa.PrivateKey Contact string }
Click to show internal directories.
Click to hide internal directories.