You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thomas Fossati edited this page Sep 22, 2025
·
6 revisions
Proposal (with ASN.1 fixes from Carl)
Reserve an arc somewhere under SMI (for example, 1.3.6.1.5.5.19 to mean "RATS", and under that a 1.3.6.1.5.5.19.1 to mean CMW auto-generated OIDs);
Define an ON() function that automatically generates OIDs given a CoAP Content-Format under the aforementioned arc, e.g., ON(cf) = 1.3.6.1.5.5.19.1.${cf};
Define CMW serialisations in ASN.1:
CMWRecord := SEQUENCE {
type OBJECT IDENTIFIER, -- derived from C-F using ON()
value OCTET STRING,
ind OPTIONAL CMType
}
CMType := BIT STRING {
referenceValues(0),
endorsements(1),
evidence(2),
attestationResults(3)
}
CMWCollection := SEQUENCEOF CWMCollectionNode
CWMCollectionNode := SEQUENCE {
label UTF8String,
item CMWLeafOrRoot
}
CMWLeafOrRoot := CHOICE {
leaf CMWRecord,
root [0] CMWCollectionNode
}
Ned: Limiting OIDs to ON derived makes CMW less useful. Existing objects have to be given an alias OID for no apparent reason.
Thomas: ON() is aligned with TN(), and this is the only permitted method of minting CBOR tags from C-Fs. Creating an exception would disrupt the type system by creating two ways of saying the same thing.