draft-ietf-httpbis-encryption-encoding-03 in Java

Julian Reschke <julian.reschke@gmx.de> Thu, 13 October 2016 17:23 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7EE681295E2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 13 Oct 2016 10:23:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.917
X-Spam-Level:
X-Spam-Status: No, score=-9.917 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.996, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ng1Xk440JH2W for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 13 Oct 2016 10:23:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E8381129598 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 13 Oct 2016 10:23:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bujfP-0001yf-OZ for ietf-http-wg-dist@listhub.w3.org; Thu, 13 Oct 2016 17:19:39 +0000
Resent-Date: Thu, 13 Oct 2016 17:19:39 +0000
Resent-Message-Id: <E1bujfP-0001yf-OZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <julian.reschke@gmx.de>) id 1bujfL-0001xp-06 for ietf-http-wg@listhub.w3.org; Thu, 13 Oct 2016 17:19:35 +0000
Received: from mout.gmx.net ([212.227.15.15]) by lisa.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from <julian.reschke@gmx.de>) id 1bujfJ-0005r9-59 for ietf-http-wg@w3.org; Thu, 13 Oct 2016 17:19:34 +0000
Received: from [192.168.178.20] ([93.217.126.239]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MWkep-1bMu4Q1nVz-00XpeV for <ietf-http-wg@w3.org>; Thu, 13 Oct 2016 19:19:05 +0200
To: HTTP Working Group <ietf-http-wg@w3.org>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <e8001a68-5eb1-40b6-4bf7-3d79362fa1ba@gmx.de>
Date: Thu, 13 Oct 2016 19:19:04 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:8YpVArOmCoj1GVo1290FhXVPVUoammomwc1yrmxX6R7VbAJ8agj 0iVUdDQCuHeZqJ8OgKDVEqfrna6eyeNEWP1LUoV6ljn5KJ5OUE5TrI28iGMUdJ/O8RnYYzq MS5lstrVR7akLqbLbZDPrMAeO/GPK1ZS1vTLydD/7nkq87q3HHh7xzX1AWyKor+eOQ7/OSb JBhy0PDSb6iOewn1FL+iA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:IY6JKLp6M9Y=:b6oReAaBVMB4RFX9bH1w4U 84oyxNEUbK+6jLXxBwrdhEmrCdekXG6YXISPBJ9Kaf7Q2agiNGHqQYMdR42ByX3vtMlkTE5wD QNtjCUsN4oNmEeQvKVBvFYSQkgfC+7PO42qHE4KHQJwflBclJac4jcazy7K2sA7KNZkCawy/l rIxbdGavq2tN2UzUBeOlWMXqjyk5uhiXmZunfIjKuzZdE+ewwM+y0msUmQLssHb1Q1HCxj3LV Hsi9N0lMTUjEuIgxNktd3oc5aKvHPUWOqF/UhXaC+JV5WXIiEPUvAmLlMUUIVhSTLy4VcvNz6 fH2/xfghOEx5LWnfXugLZgVWY+Mmi8bPNUhhr1r1oo4wFYrLvz0PsgSlFqMBLoxKk5ICcmg27 0LRjltjZO1Q/kpnspJX3Gk8PCQnu3kVV4AdJ07Ob2EY+PyMaESKs2Yz/5dj6yQpD8frTmSmta gTkovduAO21QifkZeP6EPq80OAKz/4IMxIDPGe1Up1YssCAbrdaCEJftsBCJgB9sYW2GBTQXj lb66kgB334ezl7OcRkCDi4Evw0SPabvMmo+cX6r+RQkledzDGbiD9iREcCD8kISE3qbDe2kv8 TeBY/xidncpJtrLd7JpwcdS/H79GDgsoukAKQBmgBfB6Ekydj551E30jg9XxvhkhsmhQ65Are 87+wY24+AUHAx9G8uQEKP9KYyUrOd/4leAmKocuk3K5NqkNXACw2VKyg6EEGc/hA2bdhC2MiP IQsRNqOKKaYqDHdovssxIR9AIEgF8eRyiDWiFcl0/aXenJFS9IxjQErCpi3kcOLn6Hxh1A+YU p2/FsDC
Received-SPF: pass client-ip=212.227.15.15; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-8.2
X-W3C-Hub-Spam-Report: AWL=1.414, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1bujfJ-0005r9-59 aa2696af01e020050ddba7ae4dac1233
X-Original-To: ietf-http-wg@w3.org
Subject: draft-ietf-httpbis-encryption-encoding-03 in Java
Archived-At: <http://www.w3.org/mid/e8001a68-5eb1-40b6-4bf7-3d79362fa1ba@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32582
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hi there,

has anybody tried yet to implement the aesgcm content coding in Java?

I started with a simple test to verify the first example. From a quick 
glance, JDK8 seems to have everything needed, but I'm stuck with the 
padding parameter used to get the Cipher instance (source: 
<https://gist.github.com/reschke/46659c912b426dffeac41d9a21421c95>).

Best regards, Julian