implement changes from review

This commit is contained in:
Raal Goff
2021-11-04 14:05:07 +08:00
parent 668cb6f39c
commit d417ce3232
9 changed files with 224 additions and 46 deletions

View File

@@ -50,7 +50,8 @@ type Authority interface {
GetRoots() ([]*x509.Certificate, error)
GetFederation() ([]*x509.Certificate, error)
Version() authority.Version
GenerateCertificateRevocationList(force bool) ([]byte, error)
GenerateCertificateRevocationList() error
GetCertificateRevocationList() ([]byte, error)
}
// TimeDuration is an alias of provisioner.TimeDuration