[pkix] DER encoding in RFC 3161

Koichi Sugimoto <koichi.sugimoto@globalsign.com> Tue, 28 July 2020 07:58 UTC

Return-Path: <koichi.sugimoto@globalsign.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 24E163A07E3 for <pkix@ietfa.amsl.com>; Tue, 28 Jul 2020 00:58:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=globalsign.com
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 o_NISgEO0YEP for <pkix@ietfa.amsl.com>; Tue, 28 Jul 2020 00:58:30 -0700 (PDT)
Received: from KOR01-PS2-obe.outbound.protection.outlook.com (mail-eopbgr1280134.outbound.protection.outlook.com [40.107.128.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ED0B43A07E2 for <pkix@ietf.org>; Tue, 28 Jul 2020 00:58:29 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E6gGr3prXs2iV8MlrwsDq37vWDfSvNYYKcnPdi0ZxX0Y0b7LZvkM8nma+HJ+X7NWQ+Ulg+ZkkJ28cfWBQdK/hRYdNLec+MIr05H9CyzGH4NmI9gmlKMX4Ids3NKYCkf76fp+T5rmlsRh7T/VSXafOxP7a5+YWk0MCblzxGT9CVS84WEVTE0D6nxUOhNDB6Bfs96zxaVQb5zYNuNQkXerDudHJZTWuC9E6oX0Yjmt4DbE13GOi5GlX+G5auH/iSdlL49bgzatztWHhHMeEroP4omA4Vlewmt+Clp5pmkPC2zX2uFAAcBzeLLCPXmSRu7VqcumfXgi1yvVXoD5/Os0wg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TowD5fIlDkRyH/3KSgg8BQ/f6geFLzv89HNPfVThY+4=; b=mn8CbSv5hVx6WcNwnTVZLMQ3PcyQTIEqw2gNol+V32BN+LNQC0tJ0o2LoZFmh+5kj3H0NzaD3q5/G2S9tu+JN/Brt10thCoQSunbP7R7O0RL/EZmVXhAYvf5i/bPePRbhSgJw2nLZC291M43zOe/cyfCtik9g7/ZjmOfcm4fOl3WeAiyxr0+Nr6fTZ7/YUhJjpXwy5lctXjiNZq8fg6DOnmBlzF0eS5Ej32W0guf8LMWunessWCilOu/tHUDQzbDh4Vu/ezCo5yza1GwP8zYxrbudEN3xSzwVp3vkfvI0nFLwtRhze+6IJkz/p/VQFA1yywlcYnXQhCg06ot/+oQNA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=globalsign.com; dmarc=pass action=none header.from=globalsign.com; dkim=pass header.d=globalsign.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=globalsign.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TowD5fIlDkRyH/3KSgg8BQ/f6geFLzv89HNPfVThY+4=; b=ZwRf3wIPOyxUx8KEXJmBHYwcRjFtgOR2X7HdzAqpY2puymY+TBWwds5JdUNJAbQcqa541+FyuJH7N9NE8HO0WilSd+U8h9gZZWUvdoNVH8Kgl7SMukOkt/qDxtvOPT4+HGHNdRUFRNJC/OXu5Fv3rCxAcLeckXWtdQ/Mijs0hiA=
Received: from PS1PR03MB4892.apcprd03.prod.outlook.com (2603:1096:300:80::17) by PS2PR03MB3767.apcprd03.prod.outlook.com (2603:1096:300:35::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.14; Tue, 28 Jul 2020 07:58:27 +0000
Received: from PS1PR03MB4892.apcprd03.prod.outlook.com ([fe80::fdda:f729:fe10:baf0]) by PS1PR03MB4892.apcprd03.prod.outlook.com ([fe80::fdda:f729:fe10:baf0%2]) with mapi id 15.20.3239.015; Tue, 28 Jul 2020 07:58:27 +0000
From: Koichi Sugimoto <koichi.sugimoto@globalsign.com>
To: "pkix@ietf.org" <pkix@ietf.org>
Thread-Topic: DER encoding in RFC 3161
Thread-Index: AdZksx18VlMWy5IjSUeqIghIxhGjWg==
Date: Tue, 28 Jul 2020 07:58:27 +0000
Message-ID: <PS1PR03MB48921EE23E93434559DF1ECE9D730@PS1PR03MB4892.apcprd03.prod.outlook.com>
Accept-Language: ja-JP, en-US
Content-Language: ja-JP
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=globalsign.com;
x-originating-ip: [122.209.118.181]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ec0997ee-7ed9-4704-69d6-08d832cc0309
x-ms-traffictypediagnostic: PS2PR03MB3767:
x-microsoft-antispam-prvs: <PS2PR03MB376712F3B59F1F0D6B9FDC369D730@PS2PR03MB3767.apcprd03.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: W+H/JrHiGDBptoIZ3YAnXgMbcXm9h1yPgAUxg6sXOeJQnQ5/VrgJLmBUejKkWJNml8OnDg3o/EFk+Uk5aGBPFUW/Lyk40f+dnOzvV5SXGKRFroT6R+UTve52+WmMMlE9qSvLK0eF7/917wolIOQ2ACZCHkloiARD/HgZ4fO0r4t7m/a2A5UzRwsq7n0kovNXOTwEthfvT/eW1wiUK/ofUOWW24M+vpIaR8BWX9RKQJWm8aEH83Smbkd5m53GG8blei98MhQa/eSilB12e1URm+lOVZz1JnzS9nwgCihNPLdhIxrZEQbFtSiHFxMplont/R6e9lWjKHu+4vRRwXaNOg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PS1PR03MB4892.apcprd03.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(136003)(39860400002)(366004)(346002)(396003)(376002)(66446008)(66616009)(66476007)(66556008)(64756008)(76116006)(66946007)(9686003)(71200400001)(186003)(26005)(6506007)(83380400001)(478600001)(4744005)(316002)(55016002)(7696005)(2906002)(5660300002)(33656002)(86362001)(8936002)(44832011)(99936003)(8676002)(52536014)(6916009); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: vQ3VZ/6umgR1t7uVhS5ReeE31PcgAfTeHttoAwFOIiqMaoO1PEKuzVBNg6Nk7ohJUbPDuu4sfefBURtmC48G0Porogak1cHqMRlcvsrUMH81BBA3QsqiuRlK8LFM3X+59VXM7Q/XAP2OTODMjnQHyWw4KcoQMo+1LpqlpZnwqYKJp2jePy8NYdvXvkklC/n/laTFCdVgqwoAunCXWyxVcbjTsnbnBm+OQsU9kJjgcUiILojDBosZ9CZDMBFEzX5bVfSNBG4z57mq5tb4KFHSYdt52q9vi674A5X4wDf0175Chq6Oh8EcomefHzWQAk4xczDY/x2iUl6x2yo36jRiQ7oEvHPECzpFU7oXkqD5ebZMUOxJAyGrprSq9BwzkmYbnDugpUqwPZsAP7Pvxamhq8PYAvVUBig+TwC5nyOAwBKfKch7ep4puXq3PvczX7Asj8CplId646DvYiFceuRcqCP7CK0zbheU7xsU4sO90j/+f7yC7I4XV0iv7lMLZDArq2N3r9/BRI+31JvkrR55eVOlXi/6DvQpEAMT+gjO/pasX9bBe7RTpExLOnjQUdI3f+TkoEx8IxVFPCQ7Ly+fqPyfuAaEOO1R4AkVTwkwDeNO2jfGJpA9GckoN01h/YiDGSzuq3s2ZUIjVhsYjYILYQ==
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="2.16.840.1.101.3.4.2.1"; boundary="----=_NextPart_000_07BA_01D66500.4EE34190"
MIME-Version: 1.0
X-OriginatorOrg: globalsign.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PS1PR03MB4892.apcprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ec0997ee-7ed9-4704-69d6-08d832cc0309
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2020 07:58:27.7891 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 8fff67c1-8281-4635-b62f-93106cb7a9a8
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: nu6iR04HMwf6aJ/99r5ivfzC1gZMpos7bpxJAljl9wqSzYPxXONeSGXNdIGhSe9Sa5KDGujZOcAc1ROgNZTWgSD8nhrMM9jWgOXd9UVokmU=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS2PR03MB3767
Archived-At: <https://mailarchive.ietf.org/arch/msg/pkix/j8e71n4axgwo_NHnoPZ9crJfgEM>
Subject: [pkix] DER encoding in RFC 3161
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: PKIX Working Group <pkix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pkix>, <mailto:pkix-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pkix/>
List-Post: <mailto:pkix@ietf.org>
List-Help: <mailto:pkix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pkix>, <mailto:pkix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Jul 2020 07:58:32 -0000

Hello PKIX members,

 

RFC 3161 specifies "The eContent SHALL be the DER-encoded value of TSTInfo."
in "2.4.2. Response Format"

Why RFC 3161 does not require DER-encoded value for full time-stamp token
(CMS data)?

 

On the other hand, following protocol encoding seems to require all
DER-encoded for entire time-stamp message.

 

3.1. Time-Stamp Protocol Using E-mail

3.2. File Based Protocol

3.3. Socket Based Protocol

3.4. Time-Stamp Protocol via HTTP

 

This seems time-stamp token requires DER-encoded indirectly.

 

Regards,

Koichi Sugimoto.