code: def import_keyset(self, keyset):
          
          try:
              jwkset = json_decode(keyset)
          except Exception:  # pylint: disable=broad-except
              raise InvalidJWKValue()
  
          if 'keys' not in jwkset:
              raise InvalidJWKValue()
  
          for k, v in iteritems(jwkset):
              if k == 'keys':
                  for jwk in v:
                      self['keys'].add(JWK(**jwk))
              else:
                  self[k] = v
docs: Imports a RFC 7517 keyset using the standard JSON format.
  
          :param keyset: The RFC 7517 representation of a JOSE Keyset.