code: def remove_keys_by_type(self, typ):
          
          _typs = [typ.lower(), typ.upper()]
          self._keys = [k for k in self._keys if not k.kty in _typs]
docs: Remove keys that are of a specific type.
          
          :param typ: Type of key (rsa, ec, oct, ..)