Skip to content

Commit 894eedf

Browse files
committed
clarifications of type (comment by Brian)
1 parent bbbb2e4 commit 894eedf

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

draft-ietf-cose-cbor-encoded-cert.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,9 @@ tag = #6
269269

270270
C509 certificates are defined in terms of DER encoded {{RFC5280}} X.509 certificates as detailed in the following subsections.
271271

272-
### version
272+
### version {#version}
273273

274-
The 'version' field is encoded in the 'c509CertificateType' CBOR int. The field 'c509CertificateType' also indicates the type of the C509 certificate. Currently, the type can be a natively signed C509 certificate following X.509 v3 (c509CertificateType = 2) or a CBOR re-encoded X.509 v3 DER certificate (c509CertificateType = 3), see {{type}}.
274+
The 'version' field is encoded in the 'c509CertificateType' CBOR int. The field 'c509CertificateType' also indicates the type of the C509 certificate. Two types are defined in this document: natively signed C509 certificates, following X.509 v3 (c509CertificateType = 2); and CBOR re-encoded X.509 v3 DER certificate (c509CertificateType = 3), see {{type}}. The number of elements in TBSCertificate is fixed and determined by the type. Additional types may be added in the future.
275275

276276
### serialNumber
277277

@@ -876,20 +876,20 @@ All assignments according to "IETF Review with Expert Review" are made on a "IET
876876

877877
## C509 Certificate Types Registry {#type}
878878

879-
IANA has created a new registry titled "C509 Certificate Types" under the new heading "CBOR Encoded X.509 (C509) Parameters". The fields of the registry are Value, Description, and Reference, where Value is an integer, and the other columns are text strings. It is mandatory to specify content in all columns. For values in the interval \[-24, 23\], the registration procedure is "IETF Review with Expert Review". For all other values, the registration procedure is "Expert Review". The initial contents of the registry are:
879+
IANA has created a new registry titled "C509 Certificate Types" under the new heading "CBOR Encoded X.509 (C509) Parameters". The fields of the registry are Value, Description, and Reference, where Value is an integer, and the other columns are text strings. It is mandatory to specify content in all columns. For values in the interval \[-24, 23\], the registration procedure is "IETF Review with Expert Review". For all other values, the registration procedure is "Expert Review". The initial contents of the registry are (see {{version}}):
880880

881881
~~~~~~~~~~~ aasvg
882-
+-------+-----------------------------------------------------------+
883-
| Value | Description |
884-
+=======+===========================================================+
885-
| 0 | Reserved |
886-
+-------+-----------------------------------------------------------+
887-
| 1 | Reserved |
888-
+-------+-----------------------------------------------------------+
889-
| 2 | Natively Signed C509 Certificate following X.509 v3 |
890-
+-------+-----------------------------------------------------------+
891-
| 3 | CBOR re-encoding of X.509 v3 Certificate |
892-
+-------+-----------------------------------------------------------+
882+
+-------+-------------------------------------------+
883+
| Value | Description |
884+
+=======+===========================================+
885+
| 0 | Reserved |
886+
+-------+-------------------------------------------+
887+
| 1 | Reserved |
888+
+-------+-------------------------------------------+
889+
| 2 | Natively Signed C509 Certificate |
890+
+-------+-------------------------------------------+
891+
| 3 | CBOR Re-encoded X.509 v3 Certificate |
892+
+-------+-------------------------------------------+
893893
~~~~~~~~~~~
894894
{: #fig-types title="C509 Certificate Types"}
895895
{: artwork-align="center"}

0 commit comments

Comments
 (0)