code: func NewHandler(validator Validator) (http.Handler, error) {
  	log.Info("setting up key / CSR generator")
  	return &api.HTTPHandler{
  		Handler: &Handler{
  			generator: &csr.Generator{Validator: validator},
  		},
  		Methods: []string{"POST"},
  	}, nil
  }
docs: // NewHandler builds a new Handler from the
  // validation function provided.