Skip to content

Add related cryptographic assets and schema#828

Merged
mr-zepol merged 1 commit into
dev_1.7_modelfrom
dev_1.7_fix_crypto
May 9, 2026
Merged

Add related cryptographic assets and schema#828
mr-zepol merged 1 commit into
dev_1.7_modelfrom
dev_1.7_fix_crypto

Conversation

@mr-zepol
Copy link
Copy Markdown
Contributor

@mr-zepol mr-zepol commented May 9, 2026

Introduce support for related cryptographic assets across crypto models and add a cryptography definitions schema. Changes include:

  • Add new RelatedCryptographicAsset model with type and ref, equals/hashCode.
  • Extend AlgorithmProperties, CertificateProperties, ProtocolProperties, and RelatedCryptoMaterialProperties to include List relatedCryptographicAssets with XML wrapper annotations, getters/setters, and include in equals/hashCode.
  • Annotate new fields with @VersionFilter(Version.VERSION_17) and add necessary imports.
  • Add cryptography-defs.schema.json resource containing algorithm family and elliptic curve metadata.
  • Register the new schema in CycloneDxSchema offlineMappings so it can be resolved at runtime.

These changes enable expressing relationships between crypto objects and external cryptographic assets and provide a formal schema for algorithm/curve definitions.

Introduce support for related cryptographic assets across crypto models and add a cryptography definitions schema. Changes include:

- Add new RelatedCryptographicAsset model with type and ref, equals/hashCode.
- Extend AlgorithmProperties, CertificateProperties, ProtocolProperties, and RelatedCryptoMaterialProperties to include List<RelatedCryptographicAsset> relatedCryptographicAssets with XML wrapper annotations, getters/setters, and include in equals/hashCode.
- Annotate new fields with @VersionFilter(Version.VERSION_17) and add necessary imports.
- Add cryptography-defs.schema.json resource containing algorithm family and elliptic curve metadata.
- Register the new schema in CycloneDxSchema offlineMappings so it can be resolved at runtime.

These changes enable expressing relationships between crypto objects and external cryptographic assets and provide a formal schema for algorithm/curve definitions.
@mr-zepol mr-zepol requested a review from a team as a code owner May 9, 2026 14:31
@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 18 complexity

Metric Results
Complexity 18

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@mr-zepol mr-zepol added breaking change spec/1.7 Changes for Spec 1.7 labels May 9, 2026
@mr-zepol mr-zepol merged commit 2168890 into dev_1.7_model May 9, 2026
3 checks passed
@mr-zepol mr-zepol deleted the dev_1.7_fix_crypto branch May 9, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change spec/1.7 Changes for Spec 1.7

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant