8000 Add interface to allow user provided extensions · Issue #6 · veraison/corim · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add interface to allow user provided extensions #6
Closed
@yogeshbdeshpande

Description

@yogeshbdeshpande

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:

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

  2. Any new user of CoRIM, CoMID library, if they have their own ID types, will eventually pollute the library with their own types.

Solution

  1. Create Generic Objects (like Class types) which has ONLY the base types (like OID and UUID).
  2. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0