Closed
Description
Problem Statement:
Present Implementation of Base CoRIM and CoMID has PSA specific types embedded into the base types.
One example is the Environment Type which has a Class Identifier object inside it.
One type of Class Identifier is the PSA Specific Implementation ID, which is PSA specific.
The issue it raises it:
-
Now any external library user uses the Class ID object will get the PSA specific Implementation ID as part of
the library implementation, which is not required. -
Any new user of CoRIM, CoMID library, if they have their own ID types, will eventually pollute the library with their own types.
Solution
- Create Generic Objects (like Class types) which has ONLY the base types (like OID and UUID).
- Provide mechanism for adding dynamic types from the caller with API's for:
a. Registration
b. Validator
c. Getter and Setter.
d. JSON and CBOR encoder and decoder
Additional context
None
Metadata
Metadata
Assignees
Labels
No labels