code: def jwks(self, private=False):
          
          self._uptodate()
          keys = list()
          for k in self._keys:
              if private:
                  key = k.serialize(private)
              else:
                  key = k.serialize()
                  for k, v in key.items():
                      key[k] = as_unicode(v)
              keys.append(key)
          return json.dumps({"keys": keys})
docs: Create a JWKS as a JSON document
          
          :param private: Whether private key information should be included.
          :return: A JWKS JSON representation of the keys in this bundle