[Trans] add-chain return value

Peter Bowen <pzbowen@gmail.com> Sun, 08 November 2015 15:19 UTC

Return-Path: <pzbowen@gmail.com>
X-Original-To: trans@ietfa.amsl.com
Delivered-To: trans@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F0E661B2F11 for <trans@ietfa.amsl.com>; Sun, 8 Nov 2015 07:19:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level:
X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 Xyz-BcwAZ1h0 for <trans@ietfa.amsl.com>; Sun, 8 Nov 2015 07:19:22 -0800 (PST)
Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BD4561B2EF5 for <trans@ietf.org>; Sun, 8 Nov 2015 07:19:22 -0800 (PST)
Received: by iody8 with SMTP id y8so164250662iod.1 for <trans@ietf.org>; Sun, 08 Nov 2015 07:19:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=bjWv22mFugR6sm0ooBwCD1WA4U+53TiPN5wBpJRwukA=; b=SkVrYpxjscWcENSuIXKD3lovClZg2wBGaYKujwDJnxTXyQd1KDTK7xKhDBsHR3ynwX 0N9nhLJjJSFxL2b4T25oq52NhL4MmaD9R/NdX7+0Ki5XlAbuGLNnwF5qjaUPrHCT8Urb otrnSgrNS79T+ulW2S+4arVtI9PccnZHlwVBdyK3h1dK175w9x8dOpohbVNpyXQ6yzse lTbSVgmelEikzofQ1HlX+0IFfnd/Z5QCeV+M/6at6LLkT1YzV0UqiSDU62uXJZhGfzy0 E3lzyJ9MPQOJjtqILRq7JGzRb8nIHvO+coJvSC/QebgFyYl+Ttbt1WPHum0kJkDp2IbR idhg==
MIME-Version: 1.0
X-Received: by 10.107.130.101 with SMTP id e98mr27067021iod.77.1446995962242; Sun, 08 Nov 2015 07:19:22 -0800 (PST)
Received: by 10.36.184.197 with HTTP; Sun, 8 Nov 2015 07:19:22 -0800 (PST)
Date: Sun, 08 Nov 2015 07:19:22 -0800
Message-ID: <CAK6vND-qHU0GL5B=UB5XmsQcStBaHQ=V_nCvwiWkDUTcMtUQ-g@mail.gmail.com>
From: Peter Bowen <pzbowen@gmail.com>
To: "trans@ietf.org" <trans@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/trans/LN1uYAq0ySXuzsWQxM3NDvTEAUQ>
Subject: [Trans] add-chain return value
X-BeenThere: trans@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Public Notary Transparency working group discussion list <trans.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/trans>, <mailto:trans-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/trans/>
List-Post: <mailto:trans@ietf.org>
List-Help: <mailto:trans-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/trans>, <mailto:trans-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Nov 2015 15:19:24 -0000

In 6962bis, add-chain is currently defined as returning the base64
encoded "SignedCertificateTimestamp".  In most cases, these are then
encoded into a SignedCertificateTimestampList.

Given that the SignedCertificateTimestampList is made up of
SerializedSCTs rather than SCTs, I wanted to double check that the
return of add-chain is a raw SCT.  To make a SerializedSCT, it needs
to be Base64-decoded and then have a length prepended, correct?

Thanks,
Peter