Re: [core-parameters] Core content-format number allocation
Klaus Hartke <hartke@projectcool.de> Fri, 25 May 2018 07:48 UTC
Return-Path: <hartke@projectcool.de>
X-Original-To: core-parameters@ietfa.amsl.com
Delivered-To: core-parameters@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5995E1201FA; Fri, 25 May 2018 00:48:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_FAIL=0.001] autolearn=no 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 nenZEsERc8tg; Fri, 25 May 2018 00:48:50 -0700 (PDT)
Received: from wp382.webpack.hosteurope.de (wp382.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8597::]) (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 079C9120454; Fri, 25 May 2018 00:48:49 -0700 (PDT)
Received: from mail-qt0-f179.google.com ([209.85.216.179]); authenticated by wp382.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1fM7Sw-0003I1-Rn; Fri, 25 May 2018 09:48:47 +0200
Received: by mail-qt0-f179.google.com with SMTP id d3-v6so5438300qtp.11; Fri, 25 May 2018 00:48:46 -0700 (PDT)
X-Gm-Message-State: ALKqPwcpNAKJKKYjG5RiAuGwF/itTvRwm8qAJzTgzjaDex6qvX7e2ym2 7Xvw0nWrYoVG5pMdKFKnrtoB/+ky/Kt6zTC14rY=
X-Google-Smtp-Source: ADUXVKLRhtMpu82pfPB124BEs7AD5iFTTbl0x6sWUNPAt/DLMRkTnvFBjDlExZLiMUvNMHs1vSes09LL2zTPiqXPDUQ=
X-Received: by 2002:a0c:e642:: with SMTP id c2-v6mr323686qvn.56.1527234525729; Fri, 25 May 2018 00:48:45 -0700 (PDT)
MIME-Version: 1.0
References: <636715d9568fb16b0dc779773fc99f89@xs4all.nl>
In-Reply-To: <636715d9568fb16b0dc779773fc99f89@xs4all.nl>
From: Klaus Hartke <hartke@projectcool.de>
Date: Fri, 25 May 2018 09:48:35 +0200
X-Gmail-Original-Message-ID: <CAAzbHvZ4CGgG6L5ZkaBF_JPN7d=o=XuWCETLF8-k7BP7KtYb=A@mail.gmail.com>
Message-ID: <CAAzbHvZ4CGgG6L5ZkaBF_JPN7d=o=XuWCETLF8-k7BP7KtYb=A@mail.gmail.com>
To: consultancy@vanderstok.org
Cc: Hannes Tschofenig <hannes.tschofenig@gmx.net>, core-parameters@ietf.org, draft-ietf-ace-coap-est@ietf.org
Content-Type: multipart/alternative; boundary="000000000000651935056d02ffe6"
X-bounce-key: webpack.hosteurope.de; hartke@projectcool.de; 1527234530; 9e18903b;
X-HE-SMSGID: 1fM7Sw-0003I1-Rn
Archived-At: <https://mailarchive.ietf.org/arch/msg/core-parameters/b7vCwyAp1WCJul99v8CzdrRxW54>
Subject: Re: [core-parameters] Core content-format number allocation
X-BeenThere: core-parameters@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Expert review of CoAP parameters." <core-parameters.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core-parameters>, <mailto:core-parameters-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core-parameters/>
List-Post: <mailto:core-parameters@ietf.org>
List-Help: <mailto:core-parameters-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core-parameters>, <mailto:core-parameters-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 25 May 2018 07:48:54 -0000
Hi Peter, I see you’re requesting Content-Format IDs for the following existing media types: - application/pkcs7-mime - application/pkcs8 - application/csrattrs - application/pkcs10 A Content-Format is the combination of a media type and a content coding. Please specify the content coding(s) you want to use with each media type. The possible set of content codings can be found at https://www.iana.org/assignments/http-parameters/http-parameters.xhtml#content-coding Please format your request as a table that looks like Table 9 in https://tools.ietf.org/html/rfc7252#section-12.3 (one row for each combination of a media type and a content coding) It seems “application/pkcs7-mime“ actually does define a media type parameter, “smime-type ”. RFC 5751 says: Because there are several types of application/pkcs7-mime objects, a sending agent SHOULD do as much as possible to help a receiving agent know about the contents of the object without forcing the receiving agent to decode the ASN.1 for the object. The Content-Type header field of all application/pkcs7-mime objects SHOULD include the optional "smime-type" parameter, as described in the following sections. So it seems the parameter is more or less required. Do you want to register a Content-Format ID for each defined smime-type value? Then the list of media types (that need to be paired with a content coding) looks like this: - application/pkcs7-mime; smime-type=“enveloped-data” - application/pkcs7-mime; smime-type=“signed-data” - application/pkcs7-mime; smime-type=“certs-only” - application/pkcs7-mime; smime-type=“compressed-data” - application/pkcs8 - application/csrattrs - application/pkcs10 Klaus On Fri 25. May 2018 at 09:27, peter van der Stok <stokcons@xs4all.nl> wrote: > Dear core parameter experts, > > In draft-ietf-ace-coap-est we want to allocate content format numbers to > 4 already existing media formats. > LWM2M people are implementing the est-coaps specification and want to > deploy it as quickly as possible. > Therefore, they need to know the allocated numbers to write into their > code. > An early allocation before publication of the draft as RFC will be > appreciated. > > Below the IANA text from the draft, using TBD1 - TBD4 as allocated > numbers. > > Many thanks, > > peter > > > > __________________________________________________________________________________________________________ > > > 8.1. Content-Format registry > > Additions to the sub-registry "CoAP Content-Formats", within the > "CoRE Parameters" registry are needed for the below media types. > These can be registered either in the Expert Review range (0-255) or > IETF Review range (256-9999). > > 1. > > * application/pkcs7-mime > * Type name: application > * Subtype name: pkcs7-mime > * ID: TBD1 > * Required parameters: None > * Optional parameters: None > * Encoding considerations: binary > * Security considerations: As defined in this specification > * Published specification: [RFC5751] > * Applications that use this media type: EST > > 2. > > * application/pkcs8 > * Type name: application > * Subtype name: pkcs8 > * ID: TBD2 > * Required parameters: None > * Optional parameters: None > * Encoding considerations: binary > * Security considerations: As defined in this specification > * Published specification: [RFC5958] > * Applications that use this media type: EST > > 3. > > * application/csrattrs > * Type name: application > * Subtype name: csrattrs > * ID: TBD3 > * Required parameters: None > * Optional parameters: None > * Encoding considerations: binary > * Security considerations: As defined in this specification > * Published specification: [RFC7030] > * Applications that use this media type: EST > > 4. > > * application/pkcs10 > * Type name: application > * Subtype name: pkcs10 > * ID: TBD4 > * Required parameters: None > * Optional parameters: None > * Encoding considerations: binar > * Security considerations: As defined in this specification > * Published specification: [RFC5967] > * Applications that use this media type: EST > > > ___________________________________________________________________________________________ > > -- > Peter van der Stok > vanderstok consultancy > mailto: consultancy@vanderstok.org > www: www.vanderstok.org > tel NL: +31(0)492474673 F: +33(0)966015248 > > _______________________________________________ > core-parameters mailing list > core-parameters@ietf.org > https://www.ietf.org/mailman/listinfo/core-parameters >
- [core-parameters] Core content-format number allo… peter van der Stok
- Re: [core-parameters] Core content-format number … Klaus Hartke
- Re: [core-parameters] Core content-format number … peter van der Stok
- Re: [core-parameters] Core content-format number … Klaus Hartke
- Re: [core-parameters] Core content-format number … peter van der Stok
- Re: [core-parameters] Core content-format number … Klaus Hartke
- Re: [core-parameters] Core content-format number … Esko Dijk