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 WillingToIssueWildcards([]identifier.ACMEIdentifier) error 11 ChallengesFor(identifier.ACMEIdentifier) ([]Challenge, error) 12 ChallengeTypeEnabled(AcmeChallenge) bool 13 CheckAuthz(*Authorization) error 14 } 15