public function withSharedProtectedHeaders(array $shared_protected_headers) { $jwe = clone $this; $jwe->shared_protected_headers = $shared_protected_headers; return $jwe; }