public function createSealedResponse(
        int $status,
        string $body,
        SealingPublicKey $key,
        array $headers = [],
        string $version = '1.1'
    ): ResponseInterface {
        return new Response(
            $status,
            new Headers($headers),
            $this->stringToStream(
                Base64UrlSafe::encode(Simple::seal($body, $key))
            )
        );
    }