Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTooManyCNAME = errors.New("too many CNAME/DNAME lookups")
Returned by CheckCAARecords if it has to follow too many consecutive CNAME lookups.
Functions ¶
This section is empty.
Types ¶
type ValidationAuthorityImpl ¶
type ValidationAuthorityImpl struct { RA core.RegistrationAuthority DNSResolver core.DNSResolver IssuerDomain string TestMode bool UserAgent string // contains filtered or unexported fields }
ValidationAuthorityImpl represents a VA
func NewValidationAuthorityImpl ¶
func NewValidationAuthorityImpl(tm bool) ValidationAuthorityImpl
NewValidationAuthorityImpl constructs a new VA, and may place it into Test Mode (tm)
func (*ValidationAuthorityImpl) CheckCAARecords ¶
func (va *ValidationAuthorityImpl) CheckCAARecords(identifier core.AcmeIdentifier) (present, valid bool, err error)
CheckCAARecords verifies that, if the indicated subscriber domain has any CAA records, they authorize the configured CA domain to issue a certificate
func (ValidationAuthorityImpl) UpdateValidations ¶
func (va ValidationAuthorityImpl) UpdateValidations(authz core.Authorization, challengeIndex int, accountKey jose.JsonWebKey) error
UpdateValidations runs the validate() method asynchronously using goroutines.
Click to show internal directories.
Click to hide internal directories.