CBOR Encoding of X.509 Certificates (CBOR Certificates)
draft-mattsson-cose-cbor-cert-compress-05
Network Working Group S. Raza
Internet-Draft J. Hoeglund
Intended status: Standards Track RISE AB
Expires: June 4, 2021 G. Selander
J. Mattsson
Ericsson AB
M. Furuhed
Nexus Group
December 01, 2020
CBOR Encoding of X.509 Certificates (CBOR Certificates)
draft-mattsson-cose-cbor-cert-compress-05
Abstract
This document specifies a CBOR encoding of X.509 certificates. The
resulting certificates are called CBOR Certificates. The CBOR
encoding supports a large subset of RFC 5280, while at the same time
significantly reduces the size of certificates compatible with RFC
7925 and IEEE 802.1AR (DevIDs). When used to re-encode DER encoded
X.509 certificates, the CBOR encoding can in many cases reduce the
size of RFC 7925 profiled certificates with over 50%. The CBOR
encoding can also be used encode "natively signed" CBOR certificates,
which does not require re-encoding for the signature to be verified.
The document also specifies COSE headers as well as a TLS certificate
type for CBOR certificates.
Status of This Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on June 4, 2021.
Raza, et al. Expires June 4, 2021 [Page 1]
Internet-DraftCBOR Encoding of X.509 Certificates (CBOR CerDecember 2020
Copyright Notice
Copyright (c) 2020 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3
2. Notational Conventions . . . . . . . . . . . . . . . . . . . 4
3. CBOR Encoding . . . . . . . . . . . . . . . . . . . . . . . . 4
3.1. Message Fields . . . . . . . . . . . . . . . . . . . . . 5
3.2. Encoding of Extensions . . . . . . . . . . . . . . . . . 8
4. Compliance Requirements for Constrained IoT . . . . . . . . . 10
5. Legacy Considerations . . . . . . . . . . . . . . . . . . . . 11
6. Expected Certificate Sizes . . . . . . . . . . . . . . . . . 11
7. Natively Signed CBOR Certificates . . . . . . . . . . . . . . 12
8. Security Considerations . . . . . . . . . . . . . . . . . . . 12
9. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 13
9.1. CBOR Certificate Types Registry . . . . . . . . . . . . . 13
9.2. CBOR Attribute Type Registry . . . . . . . . . . . . . . 14
9.3. CBOR Extension Type Registry . . . . . . . . . . . . . . 14
9.4. CBOR Extended Key Usage Registry . . . . . . . . . . . . 15
9.5. CBOR General Name Registry . . . . . . . . . . . . . . . 16
9.6. CBOR Certificate Signature Algorithms Registry . . . . . 16
9.7. CBOR Certificate Public Key Algorithms Registry . . . . . 17
9.8. COSE Header Parameters Registry . . . . . . . . . . . . . 18
9.9. TLS Certificate Types Registry . . . . . . . . . . . . . 19
10. References . . . . . . . . . . . . . . . . . . . . . . . . . 19
10.1. Normative References . . . . . . . . . . . . . . . . . . 19
10.2. Informative References . . . . . . . . . . . . . . . . . 20
Appendix A. Example CBOR Certificates . . . . . . . . . . . . . 21
A.1. Example RFC 7925 profiled X.509 Certificate . . . . . . . 21
A.2. Example HTPPS X.509 Certificate . . . . . . . . . . . . . 25
Show full document text