RFC 9581
Concise Binary Object Representation (CBOR) Tags for Time, Duration, and Period, August 2024
- File formats:
- Also available: XML file for editing
- Status:
- PROPOSED STANDARD
- Authors:
- C. Bormann
B. Gamari
H. Birkholz - Stream:
- IETF
- Source:
- cbor (art)
Cite this RFC: TXT | XML | BibTeX
DOI: https://doi.org/10.17487/RFC9581
Discuss this RFC: Send questions or comments to the mailing list cbor@ietf.org
Other actions: Submit Errata | Find IPR Disclosures from the IETF | View History of RFC 9581
Abstract
The Concise Binary Object Representation (CBOR, RFC 8949) is a data format whose design goals include the possibility of extremely small code size, fairly small message size, and extensibility without the need for version negotiation.
In CBOR, one point of extensibility is the definition of CBOR tags. RFC 8949 defines two tags for time: CBOR tag 0 (RFC 3339 time as a string) and tag 1 (POSIX time as int or float). Since then, additional requirements have become known. The present document defines a CBOR tag for time that allows a more elaborate representation of time, as well as related CBOR tags for duration and time period. This document is intended as the reference document for the IANA registration of the CBOR tags defined.
For the definition of Status, see RFC 2026.
For the definition of Stream, see RFC 8729.