-
Notifications
You must be signed in to change notification settings - Fork 33
/
spec.html
115 lines (115 loc) · 4.93 KB
/
spec.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
---
layout: default
title: Specification
---
<div class='jumbotron'>
<h2>Specification</h2>
<p class='lead'>
CBOR is specified in an Internet Standard RFC.
RFCs that serve as Internet Standards are generated by the
<a href='https://ietf.org'>IETF</a>
based on an extensive technical review and quality control process. These are meant to last.
</p>
</div>
<hr>
<div class='row-fluid'>
<div class='span4'>
<h2>
<a href='https://www.rfc-editor.org/rfc/rfc8949.html'>RFC 8949: CBOR</a>
</h2>
<p>The stable reference.</p>
<p>Find the motivation for CBOR, the detailed specification, information on transcoding from and to JSON, and appendices with test vectors and readily usable code.</p>
<p>
Originally published as
<a href='https://tools.ietf.org/html/rfc7049'>RFC 7049</a>
in 2013, a new edition of the specification has become available in 2020:
describing the same format, but with more explanation of topics
that had arisen since the first RFC.
</p>
<p>
<a class='btn' href='https://www.rfc-editor.org/rfc/rfc8949.html'>View details »</a>
</p>
</div>
<div class='span4'>
<h2>Additional specs</h2>
<p>
<a href='https://www.rfc-editor.org/rfc/rfc8742.html'>RFC 8742: CBOR Sequences</a>
</p>
<p>
A short specification for encoding sequences of CBOR data items.
<a class='btn' href='https://www.rfc-editor.org/rfc/rfc8742.html'>View details »</a>
</p>
<p>
<a href='https://www.rfc-editor.org/rfc/rfc8746.html'>RFC 8746: Tags for typed arrays</a>
</p>
<p>
Tags for efficiently transporting homogeneous and multidimensional arrays.
<a class='btn' href='https://www.rfc-editor.org/rfc/rfc8746.html'>View details »</a>
</p>
<p>
<a href='https://www.rfc-editor.org/rfc/rfc8943.html'>RFC 8943: Tags for dates</a>
</p>
<p>
Tags for transporting date information without time of day.
<a class='btn' href='https://www.rfc-editor.org/rfc/rfc8943.html'>View details »</a>
</p>
</div>
<div class='span4'>
<h2>IANA registry</h2>
<p>
CBOR has been designed to be extensible by enabling third parties to define Tags.
Immediately after CBOR was published, extensions started to be documented.
Those that are completed are collected in an
<a href='https://iana.org'>IANA</a>
registry to ensure specifications are available and that they don't stumble over each other.
</p>
<p>Find pointers to what other people are also doing with CBOR, and extension specifications that might save you some work.</p>
<p>
<a class='btn' href='https://www.iana.org/assignments/cbor-tags/cbor-tags.xhtml'>View details »</a>
</p>
</div>
</div>
<div class='row-fluid'>
<div class='span4'>
<h2>
<a href='https://tools.ietf.org/html/rfc8152'>RFC 8152: COSE</a>
</h2>
<p>
Binary-enabled serialization is useful for cryptography.
CBOR Object Signing and Encryption (COSE) provides a standard way to exchange authenticated,
integrity protected, and confidentiality protected objects using CBOR.
</p>
<p>
<a class='btn' href='https://tools.ietf.org/html/rfc8152'>View details »</a>
</p>
</div>
<div class='span4'>
<h2>
<a href='https://tools.ietf.org/html/rfc8392'>RFC 8392: CWT</a>
</h2>
<p>
Based on COSE, the CBOR Web Token (CWT) is for CBOR what the JSON Web Token (JWT) is for JSON:
A compact means of representing claims to be securely conveyed between two parties.
</p>
<p>
<a class='btn' href='https://tools.ietf.org/html/rfc8392'>View details »</a>
</p>
</div>
<div class='span4'>
<h2>
<a href='https://tools.ietf.org/html/rfc8610'>RFC 8610: CDDL</a>
</h2>
<p>
The Concise Data Definition Language (CDDL) provides a
machine-processable notation to express CBOR (and JSON) data
structures.
This is used in specifications and other design documents for
describing the structures that one party is meant to send to another,
enabling informed discussion, input validation, and even code
generation.
</p>
<p>
<a class='btn' href='https://tools.ietf.org/html/rfc8610'>View details »</a>
</p>
</div>
</div>