github.com/letsencrypt/boulder@v0.20251208.0/core/interfaces.go (about)

     1  package core
     2  
     3  import (
     4  	"github.com/letsencrypt/boulder/identifier"
     5  )
     6  
     7  // PolicyAuthority defines the public interface for the Boulder PA
     8  // TODO(#5891): Move this interface to a more appropriate location.
     9  type PolicyAuthority interface {
    10  	WillingToIssue(identifier.ACMEIdentifiers) error
    11  	ChallengeTypesFor(identifier.ACMEIdentifier) ([]AcmeChallenge, error)
    12  	ChallengeTypeEnabled(AcmeChallenge) bool
    13  	CheckAuthzChallenges(*Authorization) error
    14  }