跳到主要内容

6. IANA 考虑

6.1. Media Type

media type 在 "Media Types" 注册表 [IANA-MEDIA-TYPES] 中注册. IANA 已按如下方式注册 CBOR Sequence 的 media type application/cbor-seq:

Type name: application

Subtype name: cbor-seq

Required parameters: N/A

Optional parameters: N/A

Encoding considerations: binary

Security considerations: 见 RFC 8742, Section 5.

Interoperability considerations: 如本文所述.

Published specification: RFC 8742.

Applications that use this media type: 数据序列化和反序列化.

Fragment identifier considerations: N/A

Additional information:

  • Deprecated alias names for this type: N/A

  • Magic number(s): N/A

  • File extension(s): N/A

  • Macintosh file type code(s): N/A

Person & email address to contact for further information: [email protected]

Intended usage: COMMON

Author: Carsten Bormann ([email protected])

Change controller: IETF

6.2. CoAP Content-Format 注册

IANA 已在 "Constrained RESTful Environments (CoRE) Parameters" 注册表 [IANA-CORE-PARAMETERS] 的 "CoAP Content-Formats" 子注册表中, 从 "Expert Review" (0-255) 范围 ([RFC8126]) 为 media type "application/cbor-seq" 分配了一个 CoAP Content-Format ID. 分配的 ID 如表 1 所示.

Media typeEncodingIDReference
application/cbor-seq-63RFC 8742

表 1: CoAP Content-Format ID

6.3. Structured Syntax Suffix

Structured Syntax Suffix 在 [IANA-STRUCTURED-SYNTAX-SUFFIX] 维护的 "Structured Syntax Suffix Registry" 中注册. IANA 已根据 [RFC6838] 按如下方式注册 "+cbor-seq" structured syntax suffix:

Name: CBOR Sequence

+suffix: +cbor-seq

References: RFC 8742

Encoding considerations: binary

Fragment identifier considerations: 为 +cbor-seq 指定的片段标识符语法和语义 SHOULD 与为 "application/cbor-seq" 指定的语法和语义相同. (在本文档发布时, 尚未为 "application/cbor-seq" 定义片段标识语法.)

特定 "xxx/yyy+cbor-seq" 的片段标识符语法和语义 SHOULD 按如下方式处理:

o 对于 +cbor-seq 中定义的情况, 如果片段标识符按照 +cbor-seq 规则解析成功, 则按 +cbor-seq 中的规定处理.

o 对于 +cbor-seq 中定义的情况, 如果片段标识符未按 +cbor-seq 规则解析成功, 则按 "xxx/yyy+cbor-seq" 中的规定处理.

o 对于 +cbor-seq 中未定义的情况, 按 "xxx/yyy+cbor-seq" 中的规定处理.

Interoperability considerations: n/a

Security considerations: 见 RFC 8742, Section 5

Contact: CBOR WG mailing list ([email protected]), 或任何由 IESG 指定的后继者.

Author/Change controller: IETF