a685e3fc98
Vndr has a simpler configuration and allows pointing to forked packages. Additionally other docker projects are now using vndr making vendoring in distribution more consistent. Updates letsencrypt to use fork. No longer uses sub-vendored packages. Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
16 lines
867 B
Go
16 lines
867 B
Go
package acme
|
|
|
|
// Challenge is a string that identifies a particular type and version of ACME challenge.
|
|
type Challenge string
|
|
|
|
const (
|
|
// HTTP01 is the "http-01" ACME challenge https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#http
|
|
// Note: HTTP01ChallengePath returns the URL path to fulfill this challenge
|
|
HTTP01 = Challenge("http-01")
|
|
// TLSSNI01 is the "tls-sni-01" ACME challenge https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#tls-with-server-name-indication-tls-sni
|
|
// Note: TLSSNI01ChallengeCert returns a certificate to fulfill this challenge
|
|
TLSSNI01 = Challenge("tls-sni-01")
|
|
// DNS01 is the "dns-01" ACME challenge https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#dns
|
|
// Note: DNS01Record returns a DNS record which will fulfill this challenge
|
|
DNS01 = Challenge("dns-01")
|
|
)
|