Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extensibility section updated #121

Merged
merged 8 commits into from
Sep 27, 2023
Merged
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion draft-ietf-rats-corim.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ informative:
seriesinfo: Version 1.0, Revision 0.19
date: July 2020
target: https://trustedcomputinggroup.org/wp-content/uploads/DICE-Layering-Architecture-r19_pub.pdf
IANA.concise-software-identifier: coswid-reg
SPDM:
title: Security Protocol and Data Model (SPDM)
author:
Expand Down Expand Up @@ -1239,7 +1240,22 @@ applies to all measurements in the triple, including those in `measurement-value

## Extensibility {#sec-extensibility}

[^issue] https://github.com/ietf-rats-wg/draft-ietf-rats-corim/issues/10
CoRIM is described using CDDL {{-cddl}} which includes extensibility support for "extension points" (a.k.a., map structures)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The whole structure of the section needs reorganising. I will suggest a better rewrite as an edit to this section!

and data types. CDDL map extension points have the form `($$NAME-extension)` where "NAME" is the name of the map and '$$' signifies map extensibility.
CDDL map extensibility enables a CoRIM profile to extend the base CoRIM definition.
Typically, map extension requires a convention for code point naming that avoids code-point reuse.
Well-known code points may be in a registry, such as CoSWID {{-coswid-reg}}.
Additionally, a range of code points may be reserved for vendor-specific use such as negative integers.

Data type extensibility has the form `($NAME-type-choice)` where "NAME" is the type name and '$' signifies type extensibility.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah. Here we go. I'd move the referrals and definitions to type- and group-choice to the top. And come back to it here.


Map and type extensions are permitted by the CoRIM schema where the above CDDL extensibility points are defined.
Schema extensions should be documented to facilitate interoperability. CoRIM profiles are best used to documennt
vendor or industry defined extensions.

This specification uses CDDL type extension. Type extensions contained in this specification are considered
as "standard CoRIM types". Standard CoRIM types, along with the other CDDL expressions in this specification,
set the baseline for CoRIM interoperability.
yogeshbdeshpande marked this conversation as resolved.
Show resolved Hide resolved

# CoBOM {#sec-cobom}

Expand Down
Loading