// WithDatabase sets the given authority database to the CA options.
WithDatabase sets the given authority database to the CA options.
// WithDatabase sets the given authority database to the CA options .
func WithDatabase(db db.AuthDB) Option {
	return func(o *options) {
		o.database = db
	}
}
func WithDatabase ( db db . AuthDB ) Option { return func ( o * options ) { o . database = db } }
WithDatabase sets the given authority database to the CA options.
WithDatabase sets the given authority database to the CA options .