Skip to content

Add to properties the concepts of presence and cardinality #55

@toscalix

Description

@toscalix

Background

The license list included in their properties description the concept of:

  • Mandatory or optional property
  • The property allows a single value or several

Rationale

The first concept is not present current on the SPDX CryptAlg list. The second one is, but not as explicit as we could. Including these concept explicitly in the properties description would help to clarify several potential use cases and misconceptions. It is also required for the consumption of the List by the different SPDX profiles

Description

For each property, add the concepts of

  • Presence: required or optional
  • Cardinality: single or multiple / multiple (range)

We will express these conceptsd as cardinality in a single line

Actions

In the file crypto-algorithms-list-properties-description.md, perform the following actions

  • Add the concept of cardinality to each property
    • id: 1
    • oid: [0..*]
    • name: 1
    • commonkeySize: [0..*]
    • specifiedkeySize: [0..*]
    • cryptoClass: 1
    • cryptoSubClass: [0,1]
    • reference: [1..*]

DoD

  • Link to the PR including the concept of presence:
  • Link to the PR including the concept of cardinality:
  • Link to the new version of the properties description file

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions