kty = $kty; $this->e = $e; $this->n = $n; $this->kid = $kid; $this->alg = $alg; $this->use = $use; } public function jsonSerialize(): array { return [ 'kty' => $this->kty, 'e' => $this->e, 'n' => $this->n, 'kid' => $this->kid, 'alg' => $this->alg, 'use' => $this->use, ]; } }