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 1 commit
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

entity:
SELF: "RFCthis"
Expand Down Expand Up @@ -1194,7 +1195,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 "sockets" (a.k.a., map structures)
nedmsmith marked this conversation as resolved.
Show resolved Hide resolved
nedmsmith marked this conversation as resolved.
Show resolved Hide resolved
and data types. CDDL socket extensions have the form `($$NAME-extension)` where "NAME" is the name of the map.
Copy link
Member

@henkbirkholz henkbirkholz Aug 16, 2023

Choose a reason for hiding this comment

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

$$foo is a an extension point for a group-choice
$bar is an extension point for a type-choice

Not sure if that level of detail is relevant here, but that is less ambiguous to me.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@henkbirkholz to work on this PR

nedmsmith marked this conversation as resolved.
Show resolved Hide resolved
CDDL socket extensibility enables a CoRIM profile to extend the standard definition.
nedmsmith marked this conversation as resolved.
Show resolved Hide resolved
Typically, map extension requires a convention for code point naming that avoids code-point resue.
nedmsmith marked this conversation as resolved.
Show resolved Hide resolved
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.


Socket and type extensions are permitted by the CoRIM schema where the above CDDL extensibility points are defined.
nedmsmith marked this conversation as resolved.
Show resolved Hide resolved
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.

# CoBOM {#sec-cobom}

Expand Down