Skip to content

Conversation

@setrofim
Copy link
Collaborator

Implement extensions for types that are supposed to have them.

This addresses #28

NOTE:

  • concise-rim-type-choice, despite the -type-choice suffix is not extendible -- it can only be either signed or unsigned CoRIM.
  • tag-rel-ty-pe-choice is not a true "type choice"; it does not allow arbitary types; instead, the extension poin is there to allow other values.
  • This is implemented on top of CoSWID serialization #36

Implement type choice extensions for ProfileTypeChoice allowing values
of types other than the ones explicitly specified in the spec.

Signed-off-by: setrofim <[email protected]>
Implement type extension for CryptoKeyTypeChoice, allowing values of
types other than the ones explicitly specified in the spec.

Signed-off-by: setrofim <[email protected]>
Implement type extension for InstanceIdTypChoice, allowing values of
types other than the ones explicitly specified by the spec.

Signed-off-by: setrofim <[email protected]>
Implement type extensions for GroupIdTypeChoice, allowing values of
types other than the ones explicitly specified by the spec.

Signed-off-by: setrofim <[email protected]>
Implement type extensions for RawValueTypeChoice, allowing values of
types other than the ones explicitly specified by the spec.

This also removes TaggedJsonValue type, as it is no longer used.

Signed-off-by: setrofim <[email protected]>
Add value extensions for TagRelTypeChoice enum, allowing values not
specified by the spec.

Note: despite the "type choice" suffix in the type's name, this not
actually intended to support type extensions, but only new values
indicating alternative relationships.

Signed-off-by: setrofim <[email protected]>
Implement type extensions for TagIdTypeChoice, allowing values of
types other than those explicitly specified by the spec.

Signed-off-by: setrofim <[email protected]>
@setrofim setrofim merged commit c6c6850 into master Aug 6, 2025
2 checks passed
@setrofim setrofim deleted the type-ext branch August 6, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant