跳到主要内容

Internet Engineering Task Force (IETF) C. Bormann Request for Comments: 8742 Universität Bremen TZI Category: Standards Track February 2020 ISSN: 2070-1721

Concise Binary Object Representation (CBOR) Sequences

  • 状态: Proposed Standard
  • 发布日期: February 2020
  • Stream: IETF
  • 勘误: 无勘误

摘要

本文档描述 Concise Binary Object Representation (CBOR) Sequence 格式以及相关 media type "application/cbor-seq". 一个 CBOR Sequence 由任意数量的已编码 CBOR data item 构成, 这些 data item 简单地按顺序串接.

media type 的 structured syntax suffix 允许其他 media type 构建在它们之上, 并明确表明它们以既有 media type 为基础. 本规范定义并注册 "+cbor-seq" 作为 CBOR Sequences 的 structured syntax suffix.

本备忘录状态

本文是 Internet Standards Track 文档.

本文是 Internet Engineering Task Force (IETF) 的产物. 它代表 IETF 社区的共识. 它已经过公开评审, 并已由 Internet Engineering Steering Group (IESG) 批准发布. 有关 Internet Standards 的更多信息见 RFC 7841 第 2 节.

有关本文档当前状态, 任何勘误以及如何提供反馈的信息, 可从 https://www.rfc-editor.org/info/rfc8742 获取.

版权声明

Copyright (c) 2020 IETF Trust and the persons identified as the document authors. All rights reserved.

本文档受 BCP 78 以及本文档发布之日生效的 IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) 约束. 请仔细阅读这些文档, 因为它们描述了你对本文档享有的权利和限制. 从本文档提取的 Code Components 必须包含 Trust Legal Provisions 第 4.e 节所述的 Simplified BSD License 文本, 并且按照 Simplified BSD License 的说明不提供担保.

目录

  1. Introduction 1.1. Conventions Used in This Document
  2. CBOR Sequence Format
  3. The "+cbor-seq" Structured Syntax Suffix
  4. Practical Considerations 4.1. Specifying CBOR Sequences in Concise Data Definition Language (CDDL) 4.2. Diagnostic Notation 4.3. Optimizing CBOR Sequences for Skipping Elements
  5. Security Considerations
  6. IANA Considerations 6.1. Media Type 6.2. CoAP Content-Format Registration 6.3. Structured Syntax Suffix
  7. References 7.1. Normative References 7.2. Informative References Acknowledgements Author's Address

相关资源