Identifier checking (syntax,blacklist,PSL)
This commit is contained in:
parent
19fada5b27
commit
568bad588a
|
|
@ -81,6 +81,12 @@ type CertificateAuthority interface {
|
|||
IssueCertificate(x509.CertificateRequest) (Certificate, error)
|
||||
}
|
||||
|
||||
type PolicyAuthority interface {
|
||||
WellFormed(AcmeIdentifier) bool
|
||||
WillingToIssue(AcmeIdentifier) bool
|
||||
ChallengesFor(AcmeIdentifier) ([]Challenge, [][]int)
|
||||
}
|
||||
|
||||
type StorageGetter interface {
|
||||
GetRegistration(string) (Registration, error)
|
||||
GetAuthorization(string) (Authorization, error)
|
||||
|
|
|
|||
Loading…
Reference in New Issue